[Fedra Algotrading Strategy Trailing Stop Version]Simpler version of my popular strategy.Optimized for cryptocurrencies. Originally conceived to trade automatically through bots (that's how I use it), it also works to get signals and trade manually in any exchange.
It works in spot.
Buy the dip:
Attempts to buy on the dip, finding entries when the price makes abrupt dips that break deviation of the linear regression of the last periods.
Trend Detection:
Determines whether the market is in an uptrend or downtrend by crossing 2 SMAs + super trend in different temporalities. This affects the performance of the strategy. It works as a filter to avoid making entries in a downtrend.
% Trailing Stop Loss. The Stop Loss is placed a % below the price and accompanies it in the rises to make the most of an uptrend.
Optionally, you can set up a percentage Take Profit
It allows you to easily configure the backtest period to optimize the parameters for consistent results.
The strategy calculates by default a commission of 0.1% on each trade to make the backtest more "pessimistic".
Includes advanced features for compatibility with different bots platforms in the market.
Risk management by % of equity or by maximum series of losses.
////////////////////////////
Versión más simple de mi popular estrategia, optimizada para criptomonedas. Originalmente concebida para operar automáticamente a través de bots (así es como la uso yo), también funciona para obtener señales y operar manualmente en cualquier exchange.
Funciona en spot.
Compra en la caída:
Intenta comprar en la caída, encontrando entradas cuando el precio hace caídas abruptas que rompen la desviación de la regresión lineal de los últimos períodos.
Detección de tendencia:
Determina si el mercado está en tendencia alcista o bajista mediante el cruce de 2 SMAs + super trend en diferentes temporalidades. Esto afecta al rendimiento de la estrategia. Funciona como un filtro para evitar hacer entradas en contra de la tendencia del mercado.
% Trailing Stop Loss. El Stop Loss se coloca un % por debajo del precio y lo acompaña en las subidas para aprovechar una tendencia alcista.
Opcionalmente, se puede establecer un porcentaje de Take Profit
Permite configurar fácilmente el periodo de backtest para optimizar los parámetros y obtener resultados consistentes.
La estrategia calcula por defecto una comisión del 0,1% en cada operación para que el backtest sea más "pesimista".
Incluye características avanzadas para la compatibilidad con diferentes plataformas de bots en el mercado.
Gestión del riesgo por % del capital o por serie máxima de pérdidas.
חפש סקריפטים עבור "stop loss"
BNBUSD 1 Minute Chart / 1 Hour BBand Day Trading 3Commas*** As always, this is provided for educational purposes only and I am not an investment advisor; I'm just a guy who likes to come up with novel ideas and share them with other traders so they can learn. ***
This strategy is a fun one. I took parts of 'Bollinger Awesome Alert R1 by JustUncleL' () and modified it to have enhanced day trading functionality. This version does not show source and that is by design - I want the alerts to be visible to the public and if you want to get set up with a version that integrates with 3commas, drop me a message - there's a lot more that goes into setting up automated 3commas trading but this script was written specifically with 3commas in mind.
It's possible this is one of the more interesting strategy indicators I've made. The setup I used for this is as such and you will need to set it up the same way:
One minute chart for the BNB/USD(T) pair on Binance.us (other exchanges will likely work, other coin pairs or other time frames will likely not)
This script watches the one minute chart and when price golden crosses the lower Bollinger band, a buy order is placed. 
There are two sell conditions; one I set up to take profit and one I designed as a kind of stop loss. I went with a flat 7.5% for the take profit as this showed the best results in the backtester. I had planned for it to be closer to 3% but for this strategy to work it needs to be higher. According to the backtest it offers around double the return of buying and holding BNB over the sample timeframe.
The 'stop loss' condition is where the fun lies. I transposed Bollinger bands from a one hour BNBUSD Binance.us chart on top of the 1 minute chart and those are the blue lines you see. The stop loss condition happens when the current price death crosses the bottom one hour Bollinger band. Ironically, often this doesn't result in any losses as you will see in the chart and instead results in a small win. This definitely was not my intention when I created it but it's a lot better than the earlier version where I set up a variable percentage-based stop loss. Even with me optimizing the regular stop loss for this coin pair, my 1 hour bband method nets an extra 2% profit over the same two week time period, even with Binance fees factored in!
Have fun and like I said, hmu via message if you want access to the customizable indicator for 3commas!
Dankland Playground DCAing multi-strategy OPThis is essentially a script that I made for myself before deciding it may be good enough for you all as well.
How it works basically is this... you have 18 oscillators which can all be used as independently as you wish. That means there are 20 groups which they can be split amongst as you choose.
When in separate groups they should not be able to sell eachothers positions without triggering a stop loss. Every single oscillator has its own position sizing and exit sizing which can be stated as either a percent of balance or a flat amount of contracts. Each oscillator has a minimum amount of profit you can tell it to sell it, which is calculated from the average cost of your current position, which does include all groups. This works out to help you average out better entry and exit prices, essentially a method of DCAing.
You can set the minimum sale amount, which is to keep it from placing orders below your exchanges minimum dollar trade cost.
The included oscillators are as follows:
Chande Momentum cross
Moving Average Cross
MACD cross
%B Bollinger cross
Stochastic cross + region filter
Stochastic RSI cross + region filter
SMII cross and region
Three RMIs
Standard RSI
LSMA-smoothed RSI
Know Sure Thing
RSI of KST
Coppock Curve
RSI of Curve
PPO
RSI of PPO
Trix
RSI of Trix
So the idea is that this is essentially multiple strategies combined into one backtestable house. Balance is calculated for all position sizes in order to try to prevent false entries that plague so many scripts (IE, you set pyramiding to 2, each buy $1000, initial balance $1000, and yet it buys two orders off the bat for $2000 total and nets 400% profit because the second was considered free)/
You tune each side and position size them so that they work together as well as you can and in doing so you are able to create a single backtest that is capable of running a bot, essentially, between multiple strategies - you can run a slower Moving Average cross, a faster SMI cross or MACD, or Bollinger that grabs big moves only, all the while having MACD trade small bonuses along the way. This way you can weight the Risk to Reward of each against eachother.
I will not try to claim this is something you can open and with no work have the best bot on the planet. This scripts intention is to take a lot of relatively common trading strategies and combine them under on roof with some risk management and the ability to weigh each against eachother.
If you are looking for a super advanced singular algorithm that tries to capture every peak and valley exactly on the dot, this is not for you. If you are looking for a tool with a high level of customizability, with a publisher who intends to update it to the best of his ability in accordance to seeking to make the best product that I personally can make for both myself and the community (because I will be using this myself of course!) that was specifically designed with the intention of performing well in spot markets by averaging low entry costs and high exit costs, this is for you! That is the exact intention here.
I do not trade margin currently, I trade spot. I am sure this script can be tuned to work on margin but this is not my intention or area so if this is you and there is something you need for margin specifically implemented, ask, because I likely don't know what you need yet.
The current backtest shown is hand-optimized by myself for BTC/USD 1hr market with NO stop loss enabled and all sales weighed to be around 0% minimum profit from the total average entry cost.
I chose to run it myself with no stop losses because Bitcoin is so bullish to me. The stop losses can still be very profitable, but not 1495% net profit. This style of automation is not for everyone as when running with no stop loss and the requirement every sale is somewhat profitable, or at least no very noticeable loss, you wind up relying on yourself to manually stop out if things crash too much and the bot has to stop trading to wait for market to go back up. The thing to do here if you are playing without a stop loss is to have your own alerts set at your fear level, a % drop in a period of time or something like that, and when you reach that point I would consider resetting the bot so it continues to take trades. I personally will accept a temporary drop in USD as long as I can keep my BTC holdings up overall as the goal should always be to have as many BTC as possible by the start and end of the bull run.
TFi Pivot Reversal V3The Pivot Reversal Study uses pivot points to create a support and resistance level; based on this levels the script creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A "Pyramiding" input allows to configure up to 3 entries; the script enters an additional position if the price falls by a configurable percentage amount (long), the reverse to short orders. 
A configurable profit-target and stop-loss is being used to exit an open position.
An optional Moving Average filter can be used to enable only long or short positions.
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results. 
It shows the following statistic values:
 
  current position PnL - also background turns green if position is in profit and red if in loss
  the percentage distance to the profit-target and stop-loss level
  the overall number of wins and losses and the win/loss ratio 
  the overall profit and loss amount (assuming a quantity of 1)
  the net-profit and profit-ratio
 
For the correct simulation of entry/exit prices, the script contains inputs for a percentage entry and exit slippage. 
The study also creates configurable alerts, which follow the exact position of the entry/exit markers. The default alert messages contain trading instruction to execute orders via Alertatron; but the message content can be replaced if configuring the alert in the Tradingview environment.
The script was mainly backtested with crypto-coins, e.g. XBTUSD at 15min timeframe. But the script also works with any other type of security and timeframe. 
 How to access 
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
 Full list of alerts 
 
  'Alertatron Exit' ... Exit all open positions.
  'Alertatron Enter Long' ... Enter long position, w/o stop-loss being used.
  'Alertatron Enter Short' ... Enter short position, w/o stop-loss being used.
  'Alertatron Enter Long SL' ... Enter long position, w/ stop-loss being used.
  'Alertatron Enter Short SL' ... Enter short position, w/ stop-loss being used.
 
 Full list of parameters 
 
  "Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot /peak detection.
  "Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot /peak detection.
  "MA Filter Fast" ... Moving Average filter fast period.
  "MA Filter Slow" ... Moving Average filter slow period.
  "Profit Target Option" ... Configure the profit-target either as a fix percentage value or an ATR.
  "Profit Target  " ... Fix percentage profit-target.
  "Profit ATR Period" ... ATR profit-target period.
  "Profit ATR Factor" ... ATR profit-target factor/multiplier.
  "Stop Loss Option" ... Configure the stop-loss either as a fix percentage value or disable the stop-loss completely.
  "Stop Loss  " ... Fix percentage stop-loss.
  "Rebuy Loss  " ... Percentage loss of the initial position before script enter a nw position in the same direction.
  "Pyramiding" ... Maximum number of positions.
  "Show MA Plots" ... Show/hide Moving average plots.
  "Slippage Entry  " ... Percentage slippage for entering a position.
  "Slippage Exit  " ... Percentage slippage for exiting a position.
  "Statistic Label" ... Defines the position of the statistic label relatively to the last bar in the chart.
  "Backtest Start" ... Backtest start time; area outside this timeframe will be grayed out.
  "Backtest Stop" ... Backtest stop time; area outside this timeframe will be grayed out.
  "Backtest Mode" ... Closes the currently opened position if chart switches to last bar; please only enable if backtesting, otherwise it leads to unwanted alerts.
 
Backtest PREMIUM Suite+ (Plug & Play)Hello traders
 I. 💎 SCRIPTS ACCESS AND TRIALS 💎 
 1. For the trial request access, they have to be done through my website . 
 2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here :  Daveatt 
   Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
 3. Many video tutorials explaining clearly how all our indicators work are available on our website > guides section. 
 4. You may also contact me directly for more information 
 II. 🔎 Backtest PREMIUM Suite+ (Plug & Play) 🔎 
 2.1 Forewords 
This indicator is available only to our PREMIUM 12 months users.  YES!  I said indicator, and not strategy or backtest for an excellent reason.
We wanted to make it as generic as possible and allow anyone to connect any indicator of his/her choice in a few clicks only.
This is NOT possible (in TradingView) with a strategy/backtest, but only with an indicator - that's why we worked on recoding the whole backtest logic as an indicator.
The PRO edition does not handle any pyramiding/re-entry - as such enters only once per trend by design. This feature is reserved for our PREMIUM users.
 2.2 Concept 
This is an indicator that I saw on TradingView and was introduced by the @Pinecoders account on TradingView.
I inspired myself from his Backtest Engine to offer a version more adapted to my vision - The benefits of connecting yourself any indicator to our Backtest engine are amazing and huge.
The concept can't be more simple.  Imagine using any indicator and connecting to a backtest system in a single click. 
You may connect your Algorithm Builder also to this complete backtesting system in a single click.
What's better between paying thousands for  each  backtest, or connecting yourself your indicators to your backtest with a click?
That was a rhetoric question, but you can still share your answer with me if you want to :)
 III. The amazing benefits of our🔌&🕹️ (Plug&Play) system 
 Issue      #1   💲 A BACKTEST SYSTEM IS COSTLY 💲
Hiring a developer to code a custom indicator is costly. For a custom backtest it's even more expensive as those scripts are very often way more complicated.
Now imagine, that now that you see your idea live on a chart, you'll realize you'll have to finance another backtest system, as the one you have is not compatible with your new idea.
 Solution #1    💲💲 YOU COULD BE SAVING SOME MONEY 💲💲
just because it won't be needed to hire someone else for each of your trading idea.
We will never guarantee your success on the market, but THIS I stand by it any day any hour.
 You can connect any indicator or your choice by updating your indicator slightly and connecting it to our Backtest engine. We send the tutorial for doing it to all our customers. 
 Issue      #2     🕔 IT'S TIME-CONSUMING 🕔
Even if someone is doing all the coding for you, it might require days/weeks depending on your overall trading strategy/idea.
Without even counting the time for you to test/validate the work done and all the back-and-forth to fix all the issues.
 Solution #2     SAVING TIME MIGHT EQUATES TO SAVING MONEY : 🕔  = 💲💲💲
I wish it could be as easy as going from weeks of coding to "1 single click" :)
I did the heavy-lifting, but you'll have to make the last effort the cross the finishing line. I made it easy for you to play with it and find a configuration that makes sense to YOU and for your strategy/asset/timeframe
 Issue       #3     ❌ IT'S COMPLICATED ❌
Someone did a backtest code for you, but... you can't update it because you either :
- don't know anything in programming
- ... and don't have time to learn (most of us have a job/family/...life)
- The system you have is way too specific for one of your previous idea, but can't be updated easily for your next trading ideas. I see a lot of traders nodding right now thinking "that's soooooo true !!!!"
 Solution  #3    🎉 WE MADE IT EASY AND FUN 🎉
Our goal is to externalize the technical stuff that you don't want to take care of - so that you can finally focus on your trading and optimizing your ideas. #bold #statement
In case you're wondering, no we're not reading your mind :), but we're also traders who didn't know how to code before and had to hire external programmers to do the heavy work for us.
You can be sure that most of the frustrations (trading, technical, ...) you have/had, we had them also and that's why we created this backtest indicator.
 III. 🔌&🕹️  
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator. 
I'm using that feature to connect any external indicator to our Backtest PREMIUM Suite+ (Plug & Play) - hence the plug and play name.  Please don't make it a plug and pray :) it's supposed to help you out, not to stress you even more
Let's assume you want to connect your  Algorithm Builder Multiple Trends+  to your Backtest PREMIUM Suite+
 I mentioned an Algorithm Builder but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators. 
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it the backtest calculations. 
 This is not magic, neither is sorcery, but certainly is way beyond the most awesome thing I've ever developed on TradingView (even across all brokers I know).  #bolder #statement
TradingView is the best trading platform by far and I'm very grateful to offer my indicators on their website.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
 We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature 
 IV. 📊 Make it nice! 📊  
Now we're getting right into the fun stuff.
Let's explore briefly each display option (symbolized by an 👁️🗨️ in the Backtest UI) :
-  Color Traded Background : Color the chart background is green when in a BUY trade, in red when in a SELL trade. If the Backtest is not in a trade, then the background won't be colored.
-  Show Entry/Exit Markers : Displays the entries (Enter Long/Enter Short), and exits (Exit Long/Exit Short) labels.
-  Show Entry Level : Displays a blue level line to easily identify the entry price of a trade.
-  Show Take Profit Level : Display a purple line to visualize where the Take Profit level is (we'll explain below how to set it up).
-  Show In-Trade Stops : Display the stop-loss
 V. Backtesting filters  
A backtest should have some filters helping the traders testing a few hypotheses. Well.... we included a ton of them.
Once again, thank you @Pinecoders for the help and support you gave me
 5.1 ↑ Trade Direction ↓ 
- Both: The backtest takes the BUY, and SELL trades.
- Longs only/Short only: To be used if the trader wants to take the trades in a unique direction only
 5.2 ▲🔷Pyramiding🔷▼ 
The Backtest PRO allows 1 entry per identified trend
Pyramiding has many names such as Re-entry, secondary trend, Additional entry, ... 
Basically, it refers to entering multiple times in the same trend.
 Maximum Number of Pyramiding Entries: Literally the max number of re-entries in the same trend. 
For instance, if set to 2, then depending on the signals, you'll get at most 2 re-entries in the same trade direction.
- Position Size Multiple of Original Entry Position: Option to add X multiples of the original position size for the re-entries.
Example: Position size multiple = 2, and First entry size is $100. Then, the re-entries position sizes will be ($100 X 2 = $200).
 5.3 ▄ █ Position sizing █ ▄ 
- 1. % of Equity: If selected, the position size used is the input to the right of 1. % of Equity.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 3% of $103K
- 2. % of Capital: If selected, the position size used is the input to the right of 2. % of Capital.
In other words, the position size will always be the same position size as calculated on the initial capital.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 5% of $100K. (As 100K is the initial capital used in our dummy example)
 5.4⛔ Entry Stops and In-Trade Stops ⛔ 
We didn't reinvent the wheel here. Any good backtest should offer an entry stop-loss and an in-trade stop-loss.
Giving only here also an example among all the use cases. For instance, the trader sets a stop-loss 2% at the time of entry on your trade, but once the trade moves in the desired direction, the trader might want a trailing stop-loss using a 4% input.
Example: A trader goes LONG on only 1 "ABC" stock evaluated $10 per share.
1) The entry-stop loss will be 2% away so set at $8
2) A candle
3) The trailing stop will activate, and move the stop-loss from the entry stop-loss level (=$8) to $8.32 (=4% move up from $8) - and so on, and so forth for each time the price moves 4% up
The entry and in-trade stop losses can absolutely be identicals. There is no universal rule, and as always you know the drill - all depends on your backtest, and trading strategy as a whole.
 5.5 ❌ Hard Exits ❌ 
⚠️The Backtest PRO Suite offers the hard exit on MACD only.
Our Backtest PREMIUM Suite offers 2 more indicators to invalidate your trades on :
1. MACD
2. Trend Direction
3. RSI divergence (Regular, and Hidden)
The hard exit (or invalidation) is a fundamental part of my trading method. 
I explained numerous times on TradingView, our website, and social media channels why I "love" this concept so much, and how it saved my trading account numerous times from getting savagely wrecked by the market.
 5.6 💲💲 Take Profit 💲💲 
We only included 1 level of Take Profit so far. We'll work on adding at least one more soon.
You can set your Take Profit level based on either a:
1- Fixed value  
2 - Percentage value
 5.7 📆 Date Range Filtering 📆 
If enabled, the backtest only uses the data between the starting and the ending dates of the defined range.
 5.8 ⏱️ Hourly Range Filtering ⏱️ 
Please note that the hours filtering is based on the broker time - not on your chart time.
In other words, if your chart is UTC+1, but you're trading an asset from a US EAST COAST broker, then the timezone used is the UTC-4 timezone.
You'll must be wary of this when filtering and probably do a quick (but simple) calculation before setting up this option.
The easiest would be to set your chart timezone on the broker local timezone (and no math is needed).
Let's add a quick note that the hourly filter is also included in our Algorithm Builders PRO/PREMIUM 12 months. #shameless #self #advertising
 5.9 ❗❗ Fees and Slippage ❗❗ 
Too often completely ignored by many traders, the fees can eat gains out quickly/deepen one's capital faster than expected.
⚠️The fees vary between brokers, and asset traded - it could be recommended to check on your broker page what are the fees for the asset on your chart, and insert that percentage number.
Another cost ignored, even more, is the Slippage.
i.e. think about a Stop-Loss being hit, and we're so confused because we see on the chart that NEVER the price came even close to your SL level, but... it got hit anyway.
 Yes! we know how frustrating it is, but that's the game we're playing, and trading should never be about blaming the game, but only blaming the players/traders/ourselves. 
Blaming the game constantly is likely to not end with good performance results, but accounting for this "risk", and being able to quantify it is an incredible hedge. #bold #statement #level #10000
 5.10 🔔 Alerts 🔔 
By design, the alerts aren't available for strategy scripts. But this script is an... indicator so why should we not enjoy all the cards in our hands the fullest.
We enabled the alerts on the:
1. Main BUY/SELL Entry
2. Pyramiding BUY/SELL Entries
3. Exit Signals such as stop-loss, take-profit, hard-exits
You're welcome :)
 VI. 📝 Where are the backtest results? 📝  
Answer: in the Data Window section of your TradingView
Now the cherry on the cake if we might say so. A backtest is cool, but visualizing results is actually the end goal here.
 Our PREMIUM users benefit from way more analytics than the PRO users. 
More info available on our website.
The Data Window is dynamic - it means whenever you'll mouseover at a give time on your chart, the data on that panel automatically updates.
Let's assume you're backtesting your idea between Sept 1st, 2019, and Oct 1st, 2019.
If your mouse cursor is located (or hovered) at a candle on Sept 14th, 2019 (data chosen randomly for this example), then the data displayed only includes the results between Sept 1st, and Sept 14th.
More info available on our website with a nice tutorial video. Data window metrics and filters explained on our website
Here's what the data window looks like: imgur.com
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. 
You only will judge and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Backtest PRO Suite+ (Plug & Play)Hello traders
 I. SCRIPTS ACCESS AND TRIALS 
 1. For the trial request access, they have to be done through my website . 
 2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here :  Daveatt 
   Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
 3. Many video tutorials explaining clearly how all our indicators work are available on your website > guides section. 
 4. You may also contact me directly for more information 
 II. Backtest PRO Suite+ (Plug & Play) 
 2.1 Forewords 
This indicator is available only to our PRO 12 months users.  YES!  I said indicator, and not strategy or backtest for an excellent reason.
We wanted to make it as generic as possible and allow anyone to connect any indicator of his/her choice in a few clicks only.
This is NOT possible (in TradingView) with a strategy/backtest, but only with an indicator - that's why we worked on recoding the whole backtest logic as an indicator.
The PRO edition does not handle any pyramiding/re-entry - as such enters only once per trend by design. This feature is reserved for our PREMIUM users.
 2.2 🔎 Concept 🔎 
This is an indicator that I saw on TradingView and was introduced by the @Pinecoders account on TradingView.
I inspired myself from his Backtest Engine to offer a version more adapted to my vision - The benefits of connecting yourself any indicator to our Backtest engine are amazing and huge.
The concept can't be more simple.  Imagine using any indicator and connecting to a backtest system in a single click. 
You may connect your Algorithm Builder also to this complete backtesting system in a single click.
What's better between paying thousands for a backtest, or connecting yourself your indicator to your backtest with a click?
That was a rhetoric question, but you can still share your answer with me if you want to :)
 III. The amazing benefits of our🔌&🕹️ (Plug&Play) system 
 Issue      #1   💲 A BACKTEST SYSTEM IS COSTLY 💲
Hiring a developer to code a custom indicator is costly. For a custom backtest it's even more expensive as those scripts are very often way more complicated.
Now imagine, that now that you see your idea live on a chart, you'll realize you'll have to finance another backtest system, as the one you have is not compatible with your new idea.
 Solution #1    💲💲 YOU COULD BE SAVING SOME MONEY 💲💲
just because it won't be needed to hire someone else for each of your trading idea.
We will never guarantee your success on the market, but THIS I stand by it any day any hour.
 You can connect any indicator or your choice by updating your indicator slightly and connecting it to our Backtest engine. We send the tutorial for doing it to all our customers. 
 Issue      #2     🕔 IT'S TIME-CONSUMING 🕔
Even if someone is doing all the coding for you, it might require days/weeks depending on your overall trading strategy/idea.
Without even counting the time for you to test/validate the work done and all the back-and-forth to fix all the issues.
 Solution #2     SAVING TIME MIGHT EQUATES TO SAVING MONEY : 🕔  = 💲💲💲
I wish it could be as easy as going from weeks of coding to "1 single click" :)
I did the heavy-lifting, but you'll have to make the last effort the cross the finishing line. I made it easy for you to play with it and find a configuration that makes sense to YOU and for your strategy/asset/timeframe
 Issue       #3     ❌ IT'S COMPLICATED ❌
Someone did a backtest code for you, but... you can't update it because you either :
- don't know anything in programming
- ... and don't have time to learn (most of us have a job/family/...life)
- The system you have is way too specific for one of your previous idea, but can't be updated easily for your next trading ideas. I see a lot of traders nodding right now thinking "that's soooooo true !!!!"
 Solution  #3    🎉 WE MADE IT EASY AND FUN 🎉
Our goal is to externalize the technical stuff that you don't want to take care of - so that you can finally focus on your trading and optimizing your ideas. #bold #statement
In case you're wondering, no we're not reading your mind :), but we're also traders who didn't know how to code before and had to hire external programmers to do the heavy work for us.
You can be sure that most of the frustrations (trading, technical, ...) you have/had, we had them also and that's why we created this backtest indicator.
 III. 🔌&🕹️  
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator. 
I'm using that feature to connect any external indicator to our Backtest PRO Suite+ (Plug & Play) - hence the plug and play name.  Please don't make it a plug and pray :) it's supposed to help you out, not to stress you even more
Let's assume you want to connect your  Algorithm Builder Single Trend+  to your Backtest PRO Suite+
 I mentioned an Algorithm Builder but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators. 
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it the backtest calculations. 
 This is not magic, neither is sorcery, but certainly is way beyond the most awesome thing I've ever developed on TradingView (even across all brokers I know).  #bolder #statement
TradingView is the best trading platform by far and I'm very grateful to offer my indicators on their website.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
 We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature 
 IV. 📊 Make it nice! 📊  
Now we're getting right into the fun stuff.
Let's explore briefly each display option (symbolized by a 👁️🗨️ in the Backtest UI) :
-  Color Traded Background : Color the chart background is green when in a BUY trade, in red when in a SELL trade. If the Backtest is not in a trade, then the background won't be colored.
-  Show Entry/Exit Markers : Displays the entries (Enter Long/Enter Short), and exits (Exit Long/Exit Short) labels.
-  Show Entry Level :Displays a blue level line to easily identify the entry price of a trade.
-  Show Take Profit Level : Display a purple line to visualize where the Take Profit level is (we'll explain below how to set it up).
-  Show In-Trade Stops : Display the stop-loss
 V. Backtesting filters  
A backtest should have some filters helping the traders testing a few hypotheses. Well.... we included a ton of them - even for the PRO version
Once again, thank you @Pinecoders for the help and support you gave me
 5.1 ▄ █ Position sizing █ ▄ 
- 1. % of Equity: If selected, the position size used is the input to the right of 1. % of Equity.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 3% of $103K
- 2. % of Capital: If selected, the position size used is the input to the right of 2. % of Capital.
In other words, the position size will always be the same position size as calculated on the initial capital.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 5% of $100K. (As 100K is the initial capital used in our dummy example)
 5.2⛔ Entry Stops and In-Trade Stops ⛔ 
We didn't reinvent the wheel here. Any good backtest should offer an entry stop-loss and an in-trade stop-loss.
Giving only here also an example among all the use cases. For instance, the trader sets a stop-loss 2% at the time of entry on your trade, but once the trade moves in the desired direction, the trader might want a trailing stop-loss using a 4% input.
Example: A trader goes LONG on only 1 "ABC" stock evaluated $10 per share.
1) The entry-stop loss will be 2% away so set at $8
2) A candle
3) The trailing stop will activate, and move the stop-loss from the entry stop-loss level (=$8) to $8.32 (=4% move up from $8) - and so on, and so forth for each time the price moves 4% up
The entry and in-trade stop losses can absolutely be identicals. There is no universal rule, and as always you know the drill - all depends on your backtest, and indicator configurations as a whole.
Last, but not the least, selecting an Entry stop-loss is mandatory, but the in-trade stop-loss is not. Up to you to decide if the in-trade SL is needed for your Backtest strategy.
 5.3 ❌ Hard Exits ❌ 
We included the MACD hard exit indicator in the backtest - as we did also for the Algorithm Builders.
The hard exit (or invalidation) is a fundamental part of my trading method. 
I explained numerous times on TradingView, our website, and social media channels why I "love" this concept so much, and how it saved my trading account numerous times from getting savagely wrecked by the market.
 5.4 💲💲 Take Profit 💲💲 
We only included 1 level of Take Profit so far. We'll work on adding at least one more soon.
You can set your Take Profit level based on either a:
1- Fixed value  
2 - Percentage value
 5.5 📆 Date Range Filtering 📆 
If enabled, the backtest only uses the data between the starting and the ending dates of the defined range.
 5.6 ❗❗ Fees and Slippage ❗❗ 
Too often completely ignored by many traders, the fees can eat gains out quickly/deepen one's capital faster than expected.
⚠️The fees vary between brokers, and asset traded - it could be recommended to check on your broker page what are the fees for the asset on your chart, and insert that percentage number.
Another cost ignored, even more, is the Slippage.
i.e. think about a Stop-Loss being hit, and we're so confused because we see on the chart that NEVER the price came even close to your SL level, but... it got hit anyway.
 Yes! we know how frustrating it is, but that's the game we're playing, and trading should never be about blaming the game, but only blaming the players/traders/ourselves. 
Blaming the game constantly is likely to not end with good performance results, but accounting for this "risk", and being able to quantify it is an incredible hedge. #bold #statement #level #10000
 5.7 🔔 Alerts 🔔 
By design, the alerts aren't available for strategy scripts. But this script is an... indicator so why should we not enjoy all the cards in our hands the fullest.
We enabled the alerts on those Backtest Entry/Exit signals. You're welcome :)
 VI. 📝 Where are the backtest results? 📝  
Answer: in the Data Window section of your TradingView
Now the cherry on the cake if we might say so. A backtest is cool, but visualizing results is actually the end goal here.
The Data Window is dynamic - it means whenever you'll mouseover at a give time on your chart, the data on that panel automatically updates.
Let's assume you're backtesting your idea between Sept 1st, 2019, and Oct 1st, 2019.
If your mouse cursor is located (or hovered) at a candle on Sept 14th, 2019 (data chosen randomly for this example), then the data displayed only includes the results between Sept 1st, and Sept 14th.
More info available on our website with a nice tutorial video. Data window metrics and filters explained on our website
Here's what the data window looks like: imgur.com
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. 
You only will judge and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+ (Plug&Play)Hello traders
 I. SCRIPTS ACCESS AND TRIALS 
 1. For the trial request access, they have to be done through my website . 
 2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here :  Daveatt 
   Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
 3. You may also contact me directly for more information 
 II. Algorithm Builder - Single Trend+ Plug&Play 
 2.1 Concept 
That script is an upgrade of the Single Trend: 
The Algorithm Builder - Single Trend+ (Plug & Play) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators are converging in the same direction.
The Single Trend+ (Plug & Play) gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
 The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated. 
 III. Plug & Play 
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator. 
I'm using that feature to connect any external indicator to our Algorithm Builder Single Trend+ Plug & Play (hence the plug and play name). 
Let's assume you have your RSI divergence indicator - which is not part of the Algorithm Builder - but noticed that the convergence of an RSI divergence and a MACD gives strong signals.
 I mentioned an RSI divergence, but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators. 
Any indicator that displays visual signals are eligible for this feature .... in other words.... all possible indicators. You're welcome :)
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it in the convergence/confluence calculations. 
Hence, whenever the MACD and RSI divergence will be in the same direction for the first time, you'll get a signal. For the first time only because this is a Single trend edition - you may enter multiple times using our Algorithm Builders - Multiple Trends editions.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
 We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature 
 IV. Why the Algorithm Builder Single Trend+ (Plug&Play) may help you 
I worked with many traders during my career, and their feedback about trading is often pretty similar. 
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules. 
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
 4.1 The Algorithm Builder trading framework 
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified. 
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
 4.2 Supports and Resistances 
The indicator displays the  main algorithmic supports and resistances  according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to. 
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
 4.3 Choose your favorite risk management algorithm 
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
 Stop-Loss Management 
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
    When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
    When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
 Take Profits Management 
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
 4.4 Built-in Trade Manager  
This is very likely the most loved utility script that we shared on TradingView. 
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades. 
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration. 
You'll also be able to change the Trade Manager labels positions as you wish :)
 4.5 Built-in Risk-to-Reward Panel  
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
 4.6Hard Exits 
Our trading method is known for the hard exits, also called invalidation. 
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible. 
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
 4.7 Alerts 
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
 V. Pain points that we're trying to solve with our Algorithm Builders 
 Issue      #1     There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
 Solution #1     A reliable system that removes the external noise is much needed in trading to stay "in the game".
 Issue      #2     Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
 Solution #2     Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
 Issue       #3    Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
                               Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
                               It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
 Solution  #3    As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same 
                               scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal 
                               for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
 VI. Resolving a complex puzzle and having fun in the process 
Trading has to stay a passion and not (only be) a source of intense stress. 
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this?  Because it's fun 
Might appears as a bold statement, but I guarantee that looking for setups is fun. 
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
 VII. Designing a system that "makes sense" 
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice,  less than an hour  might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
 VII. Algorithm Builder versus the main trader enemy(=psychology) 
This indicator has the goal to help solving one of the MAIN issues encountered by traders. 
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account 
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time). 
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine. 
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
 VIII. What is a wrong or bad configuration? 
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+ (MTF)Hello traders
 I. SCRIPTS ACCESS AND TRIALS 
 1. For the trial request access, they have to be done through my website . 
 2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here :  Daveatt 
   Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
 3. You may also contact me directly for more information 
 II. Algorithm Builder - Single Trend+ (MTF) 
 2.1 Concept 
MTF means Multi Timeframes - we all agree that saying MTF is nicer and easier than multi-timeframe.
That script is an upgrade of the Single Trend: 
The Algorithm Builder - Single Trend+ (Multiple Timeframes/MTF) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators - each may be using a different timeframe  - are converging in the same direction.
Now sit tight because what's going to be announced will be awesome. Are you ready for it?... :) 
The MTF version allows to detect the convergence for indicators in different timeframes. Each indicator has its own timeframe - expanding, even more, your trading analysis capabilities.
In other words, you could, for instance, detects the convergence of an H1 MACD with an H2 Supertrend, and why not also adding an m30 Moving Averages cross in the mix.
The Single Trend+ MTF gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
 The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated. 
 2.2 Why the Algorithm Builder Single Trend may help you 
I worked with many traders during my career, and their feedback about trading is often pretty similar. 
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules. 
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
 2.3 The Algorithm Builder trading framework 
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified. 
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
 2.3.1 Supports and Resistances 
The indicator displays the  main algorithmic supports and resistances  according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to. 
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
 2.3.2 Choose your favorite risk management algorithm 
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
 Stop-Loss Management 
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
    When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
    When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
 Take Profits Management 
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
 2.3.3 Built-in Trade Manager  
This is very likely the most loved utility script that we shared on TradingView. 
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades. 
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration. 
You'll also be able to change the Trade Manager labels positions as you wish :)
 2.3.4 Built-in Risk-to-Reward Panel  
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
 2.3.5 Hard Exits 
Our trading method is known for the hard exits, also called invalidation. 
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible. 
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
 2.3.6 Alerts 
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
 III. Pain points that we're trying to solve with our Algorithm Builders 
 Issue      #1     There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
 Solution #1     A reliable system that removes the external noise is much needed in trading to stay "in the game".
 Issue      #2     Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
 Solution #2     Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
 Issue       #3    Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
                               Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
                               It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
 Solution  #3    As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same 
                               scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal 
                               for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
 III. Resolving a complex puzzle and having fun in the process 
Trading has to stay a passion and not (only be) a source of intense stress. 
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this?  Because it's fun 
Might appears as a bold statement, but I guarantee that looking for setups is fun. 
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
 IV. Designing a system that "makes sense" 
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice,  less than an hour  might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
 V. Algorithm Builder versus the main trader enemy(=psychology) 
This indicator has the goal to help solving one of the MAIN issues encountered by traders. 
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account 
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time). 
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine. 
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
 VI. What is a wrong or bad configuration? 
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+Hello traders
 I. SCRIPTS ACCESS AND TRIALS 
 1. For the trial request access, they have to be done through my website . 
 2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here :  Daveatt 
   Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
 3. You may also contact me directly for more information 
 II. Algorithm Builder - Single Trend+ 
 2.1 Concept 
That script is an upgrade of the Single Trend: 
The Algorithm Builder - Single Trend+ was made to detect the convergence (also called confluence) of many unrelated indicators, giving a BUY or SELL signal whenever all the selected sub-indicators are converging in the same direction.
The Single Trend gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
 The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated. 
 2.2 Why the Algorithm Builder Single Trend may help you 
I worked with many traders during my career, and their feedback about trading is often pretty similar. 
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules. 
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
 2.3 The Algorithm Builder trading framework 
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified. 
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
 2.3.1 Supports and Resistances 
The indicator displays the  main algorithmic supports and resistances  according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to. 
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
 2.3.2 Choose your favorite risk management algorithm 
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
 Stop-Loss Management 
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
    When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
    When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
 Take Profits Management 
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
 2.3.3 Built-in Trade Manager  
This is very likely the most loved utility script that we shared on TradingView. 
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades. 
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration. 
You'll also be able to change the Trade Manager labels positions as you wish :)
 2.3.5 Built-in Risk-to-Reward Panel  
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
 2.3.6 Hard Exits 
Our trading method is known for the hard exits, also called invalidation. 
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible. 
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
 2.3.7 Alerts 
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
 III. Pain points that we're trying to solve with our Algorithm Builders 
 Issue      #1     There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
 Solution #1     A reliable system that removes the external noise is much needed in trading to stay "in the game".
 Issue      #2     Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
 Solution #2     Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
 Issue       #3    Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
                               Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
                               It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
 Solution  #3    As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same 
                               scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal 
                               for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
 IV. Resolving a complex puzzle and having fun in the process 
Trading has to stay a passion and not (only be) a source of intense stress. 
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this?  Because it's fun 
Might appears as a bold statement, but I guarantee that looking for setups is fun. 
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
 V. Designing a system that "makes sense" 
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice,  less than an hour  might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
 VI. Algorithm Builder versus the main trader enemy(=psychology) 
This indicator has the goal to help solving one of the MAIN issues encountered by traders. 
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account 
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time). 
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine. 
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
 VII. What is a wrong or bad configuration? 
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Harmonic Patterns Pro 1.0 [abusuhil]# Harmonic Patterns Pro 1.0  
## 📊 Professional Harmonic Pattern Detector - All 10 Classical Models
**Harmonic Patterns Pro** is a comprehensive, non-repainting indicator that automatically detects and displays all 10 classical harmonic patterns in real-time. Built with precision and professional traders in mind, this indicator helps you identify high-probability reversal zones based on Fibonacci ratios.
---
## ✨ Key Features
### 🎯 10 Harmonic Patterns Supported
- **Gartley** - The most common harmonic pattern
- **Bat** - High accuracy with tight stop loss
- **Butterfly** - Extended pattern with strong reversal potential
- **Crab** - Extreme extension pattern (1.618 XA)
- **Deep Crab** - Deeper B retracement variant
- **Shark** - Unique C point extension pattern
- **Cypher** - C extends beyond A, tight stop loss
- **AB=CD** - Simple equal-leg pattern
- **Alternate Bat** - Bat variation with D beyond X
- **Three Drives** - Three equal impulse moves
### 🔒 100% Non-Repainting
- Patterns are drawn **only after completion** (candle close)
- Once drawn, patterns **stay permanently** on the chart
- No future data used - completely reliable for live trading
- What you see in history is what you get in real-time
### 🎚️ 5 Sensitivity Levels
Choose the detection accuracy that fits your trading style:
- **Strict (±2%)** - Highest accuracy, fewer signals
- **Medium-Strict (±5%)** - Good balance
- **Medium (±8%)** - Recommended for most traders
- **Medium-Loose (±12%)** - More patterns detected
- **Loose (±18%)** - Maximum pattern detection
### 🎨 Advanced Visual Design
- **PRZ Zone**: Automatic Potential Reversal Zone highlighting
- **Pattern Fill**: Shaded area between pattern lines for clarity
- **XABCD Points**: Clear labeling of all pivot points
- **Color Coded**: Green for bullish, red for bearish patterns
- **Customizable**: Adjust colors, opacity, line styles, label sizes
### 📈 Complete Trading System
- **Entry Signals**: Clear BUY/SELL labels at point D
- **3 Profit Targets**: TP1 (38.2%), TP2 (61.8%), TP3 (100% CD)
- **Stop Loss**: Automatically calculated and displayed
- **Entry Timing**: Option to enter at D or next candle
- **Pattern Names**: Each pattern labeled (e.g., "Bullish Bat")
### 🧹 Simplified Mode
- Toggle to hide all decorations
- Shows only: BUY/SELL signals, targets, and stop loss
- Perfect for experienced traders who want a clean chart
### 🚫 Anti-Overlap System
- **Minimum Bars Between Patterns** setting
- Prevents cluttered charts with overlapping patterns
- Ensures only the most recent, valid patterns are displayed
- Adjustable from 5 to 50 bars
### 🔔 Smart Alert System
- **3 Alert Types**: Buy Signal, Sell Signal, Any Signal
- **Signal Tester Compatible**: Works with backtesting tools
- **alertcondition()** method for TradingView alerts
- Get notified immediately when patterns complete
---
## 🚀 Quick Start Guide
### Recommended Settings (Beginners)
```
ZigZag Length: 12
Sensitivity: Medium
PRZ Opacity: 40
Fill Opacity: 30
Entry on Next Candle: false
Simplified Mode: false
Min Bars Between Patterns: 15
```
### For Live Trading
```
Entry on Next Candle: true  ← Important!
```
### For Clean Charts
```
Simplified Mode: true
```
---
## 📊 Best Practices
### Timeframes
- **Best**: 4H, Daily, Weekly
- **Good**: 1H, 2H
- **Acceptable**: 15m, 30m
### Markets
Works on **all markets**: Forex, Stocks, Crypto, Commodities, Indices
### Risk Management
- Risk per trade: 1-2% of account
- Stop Loss: Use indicator's calculated SL
- Profit Targets: Scale out at TP1, TP2, TP3
- Minimum R:R: 1:2
---
## 🎓 Trading Strategies
### Strategy 1: Conservative
- Sensitivity: Strict
- Entry on Next Candle: true
- Confirm with RSI/MACD
### Strategy 2: Aggressive
- Sensitivity: Medium-Loose
- Quick entry and exit
- Scale out at TP1, TP2
### Strategy 3: Swing Trading
- Sensitivity: Strict
- Timeframe: 4H, Daily
- Hold to TP3
### Strategy 4: Multi-Timeframe
- Identify pattern on higher timeframe
- Enter on lower timeframe pattern
---
## 🔔 Setting Up Alerts
1. Right-click on chart → **"Add Alert"**
2. Condition → **"Harmonic Patterns Pro 1.0  "**
3. Choose: Buy Signal / Sell Signal / Any Signal
4. Click **"Create"**
---
## ❓ FAQ
**Q: Does this indicator repaint?**  
A: No. 100% non-repainting.
**Q: What's the best sensitivity setting?**  
A: Start with "Medium".
**Q: How many patterns should I expect?**  
A: Daily: 1-3/month. 1H: 5-10/week.
**Q: Can I use this for backtesting?**  
A: Yes! Compatible with Signal Tester.
**Q: Should I trade every pattern?**  
A: No. Focus on quality setups.
**Q: What's the typical win rate?**  
A: Beginners: 40-50%, Advanced: 65-75%.
---
## 🎯 Why Choose This Indicator?
✅ **Comprehensive** - All 10 patterns in one  
✅ **Reliable** - 100% non-repainting  
✅ **Professional** - Clean, customizable design  
✅ **Complete** - Entry, targets, stop loss included  
✅ **User-Friendly** - Easy to use  
✅ **Flexible** - Works on all markets and timeframes  
---
## ⚠️ Disclaimer
This indicator is a tool for technical analysis and should not be considered financial advice. Trading involves substantial risk of loss. Always use proper risk management and never risk more than you can afford to lose.
---
## 🏆 Final Words
**Harmonic Patterns Pro 1.0** combines classical harmonic pattern theory with modern automation. Start identifying high-probability reversal zones today!
**Version**: 1.0 | **Author**:   | **Last Updated**: October 2025
**Happy Trading! 📊✨**
---
---
---
# ═══════════════════════════════════════════════════════════
# 🌟 النسخة العربية | ARABIC VERSION 🌟
# ═══════════════════════════════════════════════════════════
---
---
---
# مؤشر نماذج الهارمونيك الاحترافي 1.0  
## 📊 كاشف احترافي لنماذج الهارمونيك - جميع النماذج العشرة الكلاسيكية
**مؤشر نماذج الهارمونيك الاحترافي** هو مؤشر شامل وغير معاد الرسم يكتشف ويعرض تلقائياً جميع نماذج الهارمونيك الكلاسيكية العشرة في الوقت الفعلي. تم بناؤه بدقة ومع وضع المتداولين المحترفين في الاعتبار، يساعدك هذا المؤشر على تحديد مناطق الانعكاس عالية الاحتمالية بناءً على نسب فيبوناتشي.
---
## ✨ الميزات الرئيسية
### 🎯 دعم 10 نماذج هارمونيك
- **Gartley (جارتلي)** - النموذج الأكثر شيوعاً
- **Bat (الخفاش)** - دقة عالية مع وقف خسارة ضيق
- **Butterfly (الفراشة)** - نموذج ممتد مع إمكانية انعكاس قوية
- **Crab (السلطعون)** - نموذج امتداد متطرف (1.618 XA)
- **Deep Crab (السلطعون العميق)** - نسخة أعمق من السلطعون
- **Shark (القرش)** - نموذج فريد بامتداد النقطة C
- **Cypher (السايفر)** - C تمتد بعد A، وقف خسارة ضيق
- **AB=CD** - نموذج بسيط بأرجل متساوية
- **Alternate Bat (الخفاش البديل)** - نسخة من الخفاش مع D بعد X
- **Three Drives (الدفعات الثلاث)** - ثلاث حركات دفع متساوية
### 🔒 عدم إعادة الرسم 100%
- يتم رسم النماذج **فقط بعد الاكتمال** (إغلاق الشمعة)
- بمجرد الرسم، تبقى النماذج **بشكل دائم** على الشارت
- لا يتم استخدام بيانات مستقبلية - موثوق تماماً للتداول المباشر
- ما تراه في التاريخ هو ما تحصل عليه في الوقت الفعلي
### 🎚️ 5 مستويات حساسية
اختر دقة الكشف التي تناسب أسلوب التداول الخاص بك:
- **Strict (صارم ±2%)** - أعلى دقة، إشارات أقل
- **Medium-Strict (متوسط-صارم ±5%)** - توازن جيد
- **Medium (متوسط ±8%)** - موصى به لمعظم المتداولين
- **Medium-Loose (متوسط-مرن ±12%)** - اكتشاف المزيد من النماذج
- **Loose (مرن ±18%)** - أقصى اكتشاف للنماذج
### 🎨 تصميم مرئي متقدم
- **منطقة PRZ**: تمييز تلقائي لمنطقة الانعكاس المحتملة
- **تظليل النموذج**: منطقة مظللة بين خطوط النموذج للوضوح
- **نقاط XABCD**: تسمية واضحة لجميع نقاط المحور
- **ترميز لوني**: أخضر للنماذج الصاعدة، أحمر للنماذج الهابطة
- **قابل للتخصيص**: ضبط الألوان، الشفافية، أنماط الخطوط، أحجام الملصقات
### 📈 نظام تداول كامل
- **إشارات الدخول**: ملصقات BUY/SELL واضحة عند النقطة D
- **3 أهداف ربح**: TP1 (38.2%)، TP2 (61.8%)، TP3 (100% CD)
- **وقف الخسارة**: يتم حسابه وعرضه تلقائياً
- **توقيت الدخول**: خيار للدخول عند D أو الشمعة التالية
- **أسماء النماذج**: كل نموذج مُسمى (مثل "Bullish Bat")
### 🧹 الوضع المبسط
- تبديل لإخفاء جميع الزخارف
- يعرض فقط: إشارات BUY/SELL، الأهداف، ووقف الخسارة
- مثالي للمتداولين ذوي الخبرة الذين يريدون شارت نظيف
### 🚫 نظام منع التداخل
- إعداد **الحد الأدنى من الشموع بين النماذج**
- يمنع الشارت المزدحم بالنماذج المتداخلة
- يضمن عرض النماذج الأحدث والصالحة فقط
- قابل للتعديل من 5 إلى 50 شمعة
### 🔔 نظام تنبيهات ذكي
- **3 أنواع تنبيهات**: إشارة شراء، إشارة بيع، أي إشارة
- **متوافق مع Signal Tester**: يعمل مع أدوات الاختبار الخلفي
- طريقة **alertcondition()** لتنبيهات TradingView
- احصل على إشعار فوري عند اكتمال النماذج
---
## 🚀 دليل البدء السريع
### الإعدادات الموصى بها (للمبتدئين)
```
ZigZag Length: 12
Sensitivity: Medium
PRZ Opacity: 40
Fill Opacity: 30
Entry on Next Candle: false
Simplified Mode: false
Min Bars Between Patterns: 15
```
### للتداول المباشر
```
Entry on Next Candle: true  ← مهم!
```
### للشارت النظيف
```
Simplified Mode: true
```
---
## 📊 أفضل الممارسات
### الأطر الزمنية
- **الأفضل**: 4 ساعات، يومي، أسبوعي
- **جيد**: ساعة، ساعتين
- **مقبول**: 15 دقيقة، 30 دقيقة
### الأسواق
يعمل على **جميع الأسواق**: الفوركس، الأسهم، العملات الرقمية، السلع، المؤشرات
### إدارة المخاطر
- المخاطرة لكل صفقة: 1-2% من الحساب
- وقف الخسارة: استخدم SL المحسوب من المؤشر
- أهداف الربح: خذ أرباح تدريجية عند TP1، TP2، TP3
- الحد الأدنى للمخاطرة/العائد: 1:2
---
## 🎓 استراتيجيات التداول
### الاستراتيجية 1: المحافظة
- الحساسية: Strict (صارم)
- الدخول من الشمعة التالية: true
- التأكيد مع RSI/MACD
### الاستراتيجية 2: العدوانية
- الحساسية: Medium-Loose (متوسط-مرن)
- دخول وخروج سريع
- أخذ أرباح تدريجية عند TP1، TP2
### الاستراتيجية 3: السوينج
- الحساسية: Strict (صارم)
- الإطار الزمني: 4 ساعات، يومي
- الاحتفاظ حتى TP3
### الاستراتيجية 4: متعدد الأطر الزمنية
- تحديد النموذج على إطار زمني أعلى
- الدخول على نموذج إطار زمني أقل
---
## 🔔 إعداد التنبيهات
1. انقر بزر الماوس الأيمن على الشارت → **"Add Alert"**
2. الشرط → **"Harmonic Patterns Pro 1.0  "**
3. اختر: Buy Signal / Sell Signal / Any Signal
4. اضغط **"Create"**
---
## ❓ الأسئلة الشائعة
**س: هل يعيد المؤشر الرسم؟**  
ج: لا. عدم إعادة الرسم 100%.
**س: ما هو أفضل إعداد للحساسية؟**  
ج: ابدأ بـ "Medium" (متوسط).
**س: كم عدد النماذج المتوقعة؟**  
ج: يومي: 1-3 شهرياً. ساعة: 5-10 أسبوعياً.
**س: هل يمكنني استخدامه للاختبار الخلفي؟**  
ج: نعم! متوافق مع Signal Tester.
**س: هل يجب أن أتداول كل نموذج؟**  
ج: لا. ركز على الإعدادات عالية الجودة.
**س: ما هو معدل الربح النموذجي؟**  
ج: المبتدئون: 40-50%، المتقدمون: 65-75%.
---
## 🎯 لماذا تختار هذا المؤشر؟
✅ **شامل** - جميع النماذج العشرة في مؤشر واحد  
✅ **موثوق** - عدم إعادة الرسم 100%  
✅ **احترافي** - تصميم نظيف وقابل للتخصيص  
✅ **كامل** - الدخول، الأهداف، ووقف الخسارة مشمولة  
✅ **سهل الاستخدام** - سهل الاستخدام  
✅ **مرن** - يعمل على جميع الأسواق والأطر الزمنية  
---
## ⚠️ إخلاء المسؤولية
هذا المؤشر هو أداة للتحليل الفني ولا ينبغي اعتباره نصيحة مالية. التداول ينطوي على مخاطر كبيرة للخسارة. استخدم دائماً إدارة المخاطر المناسبة ولا تخاطر أبداً بأكثر مما يمكنك تحمل خسارته.
---
## 🏆 الكلمة الأخيرة
**مؤشر نماذج الهارمونيك الاحترافي 1.0** يجمع بين نظرية نماذج الهارمونيك الكلاسيكية والأتمتة الحديثة. ابدأ في تحديد مناطق الانعكاس عالية الاحتمالية اليوم!
**الإصدار**: 1.0 | **المطور**:   | **آخر تحديث**: أكتوبر 2025
**تداول موفق! 📊✨**
Scalper Pro Pattern Recognition & Price ActionOVERVIEW
Scalper Pro is a comprehensive multi-timeframe trading indicator that combines Smart Money Concepts (SMC) with traditional technical analysis to provide scalpers and day traders with high-probability entry and exit signals. This indicator integrates multiple analytical frameworks into a unified visual system designed specifically for short-term trading strategies.
ORIGINALITY & PURPOSE
What Makes This Script Original
This script is not a simple mashup of existing indicators. Instead, it represents a carefully orchestrated integration of complementary analytical methods that work together to solve a specific problem: identifying high-probability scalping opportunities in volatile markets.
The unique value proposition:
Adaptive Trend Filtering System - Combines a customized SuperTrend algorithm with dual-period range filters (Cirrus Cloud) and Hull Moving Average trend cloud to create a three-layer trend confirmation system
Smart Money Concepts Integration - Incorporates institutional trading concepts (Order Blocks, Fair Value Gaps, Break of Structure) with retail technical indicators for a complete market structure view
Dynamic Risk Management - Automatically calculates stop-loss and take-profit levels based on ATR volatility, providing objective position sizing
ADX-Based Market Regime Detection - Identifies ranging vs. trending markets through ADX analysis with visual bar coloring to prevent whipsaws during consolidation
Why Combine These Specific Components
Each component addresses a specific weakness in scalping:
SuperTrend provides the primary directional bias but can generate false signals in ranging markets
Range Filters smooth out noise and confirm trend direction, reducing SuperTrend false positives
ADX Analysis prevents trading during low-volatility consolidation when most indicators fail
SMC Elements identify institutional activity zones where price is likely to react strongly
ATR-Based Risk Management adapts position sizing to current volatility conditions
The synergy creates a system where signals are only generated when multiple confirmation layers align, significantly reducing false signals common in single-indicator approaches.
HOW IT WORKS
Core Calculation Methodology
1. SuperTrend Signal Generation
The script uses a modified SuperTrend algorithm with the following calculation:
ATR = Average True Range (default: 10 periods)
Factor = 7 (default sensitivity multiplier)
Upper Band = Source + (Factor × ATR)
Lower Band = Source - (Factor × ATR)
Directional Logic:
When price crosses above SuperTrend → Bullish signal
When price crosses below SuperTrend → Bearish signal
SuperTrend value is plotted as dynamic support/resistance
Key Modification: The sensitivity parameter (nsensitivity * 7) allows users to adjust the aggressiveness of trend detection without changing the core ATR calculation.
2. Range Filter System (Cirrus Cloud)
The Range Filter uses a smoothed range calculation to filter out market noise:
Smooth Range Calculation:
WPER = (Period × 2) - 1
AVRNG = EMA(|Price - Price |, Period)
Smooth Range = EMA(AVRNG, WPER) × Multiplier
Two-Layer System:
Layer 1: 22-period with 6x multiplier (broader trend)
Layer 2: 15-period with 5x multiplier (tighter price action)
Visual Output: The space between these two filters is colored:
Green fill = Bullish trend (Layer 1 > Layer 2)
Red fill = Bearish trend (Layer 1 < Layer 2)
This creates a "cloud" that expands during strong trends and contracts during consolidation.
3. ADX Market Regime Detection
Calculation:
+DM = Positive Directional Movement
-DM = Negative Directional Movement
True Range = RMA of True Range (15 periods)
+DI = 100 × RMA(+DM, 15) / True Range
-DI = 100 × RMA(-DM, 15) / True Range
ADX = 100 × RMA(|+DI - -DI| / (+DI + -DI), 15)
Threshold System:
ADX < Threshold (default 15) = Ranging market → Bar color changes to purple
ADX > Threshold = Trending market → Normal bar coloring applies
Purpose: This prevents taking trend-following signals during sideways markets where most indicators produce whipsaws.
4. Smart Money Concepts (SMC) Integration
Order Blocks (OB):
Identified using swing high/low detection with customizable pivot length
Bullish OB: Last down-close candle before bullish Break of Structure (BOS)
Bearish OB: Last up-close candle before bearish BOS
Extended forward until price breaks through them
Fair Value Gaps (FVG):
Detected when a three-candle gap exists:
Bullish FVG: Low  > High 
Bearish FVG: High  < Low 
Filtered by price delta percentage to ensure significant gaps
Displayed as boxes that delete when price fills the gap
Break of Structure (BOS) vs. Change of Character (CHoCH):
BOS = Price breaks the previous structural high/low in the current trend direction
CHoCH = Price breaks structure in the opposite direction (potential trend reversal)
Both internal (minor) and swing (major) structures are tracked
Equal Highs/Lows (EQH/EQL):
Detected when consecutive swing highs/lows are within ATR threshold
Often indicates liquidity pools that price may sweep before reversing
5. ATR-Based Risk Management
Calculation:
ATR Band = ATR(14) × Risk Multiplier (default 3%)
Stop Loss = Entry - ATR Band (for longs) or Entry + ATR Band (for shorts)
Take Profit Levels:
TP1 = Entry + (Entry - Stop Loss) × 1
TP2 = Entry + (Entry - Stop Loss) × 2
TP3 = Entry + (Entry - Stop Loss) × 3
Dynamic Labels: Stop loss and take profit levels are automatically calculated and displayed as labels on the chart when new signals trigger.
6. Hull Moving Average Trend Cloud
HMA = WMA(2 × WMA(Close, Period/2) - WMA(Close, Period), sqrt(Period))
Period = 600 bars (long-term trend)
The HMA provides a smoothed long-term trend reference that's more responsive than traditional moving averages while filtering out short-term noise.
HOW TO USE THE INDICATOR
Entry Signals
Primary Buy Signal:
SuperTrend changes to green (price crosses above)
ADX shows market is NOT ranging (bars are NOT purple)
Price is within or near a bullish Order Block OR bullish FVG
Cirrus Cloud shows green fill (Layer 1 > Layer 2)
Primary Sell Signal:
SuperTrend changes to red (price crosses below)
ADX shows market is NOT ranging
Price is within or near a bearish Order Block OR bearish FVG
Cirrus Cloud shows red fill (Layer 1 < Layer 2)
Confirmation Layers
Higher Probability Trades Include:
Bullish/Bearish BOS in the same direction as signal
Equal highs/lows being swept before entry
Price respecting premium/discount zones (above/below equilibrium)
Multiple timeframe alignment (use MTF settings)
Exit Strategy
The indicator provides three take-profit levels:
TP1: Conservative target (1:1 risk-reward)
TP2: Moderate target (2:1 risk-reward)
TP3: Aggressive target (3:1 risk-reward)
Suggested Exit Approach:
Close 1/3 position at TP1
Move stop to breakeven
Close 1/3 position at TP2
Trail remaining position or exit at TP3
Risk Management
Stop Loss:
Use the ATR-based stop loss level displayed on chart
Alternatively, use percentage-based stop (adjustable in settings)
Never risk more than 1-2% of account per trade
Position Sizing:
Position Size = (Account Risk $) / (Entry Price - Stop Loss Price)
CUSTOMIZABLE SETTINGS
Core Parameters
Buy/Sell Signals:
Toggle signals on/off
Adjust SuperTrend sensitivity (0.5 - 2.0)
Risk Management:
Show/hide TP/SL levels
ATR period (default: 14)
Risk percentage (default: 3%)
Number of decimal places for price labels
Trend Features:
Cirrus Cloud display toggle
Range filter periods (x1, x2, x3, x4)
Hull MA length for trend cloud
Smart Money Concepts:
Order Block settings (swing length, display count)
Fair Value Gap parameters (auto-threshold, extend length)
Structure detection (internal vs swing)
EQH/EQL threshold
ADX Settings:
ADX length (default: 15)
Sideways threshold (10-30, default: 15)
Bar color toggle
Display Options:
Previous day/week/month high/low levels
Premium/Discount/Equilibrium zones
Trend candle coloring (colored or monochrome)
BEST PRACTICES & TRADING TIPS
Optimal Use Cases
Scalping on lower timeframes (1m, 5m, 15m)
Rapid entry/exit with clear TP levels
ADX filter prevents choppy market entries
Day trading on medium timeframes (30m, 1H)
Stronger trend confirmation
Better risk-reward ratios
Swing trading entries on higher timeframes (4H, Daily)
Higher-probability structural setups
Larger ATR-based stops accommodate volatility
Market Conditions
Best Performance:
Trending markets with clear directional bias
Post-news volatility with defined structure
Markets respecting support/resistance levels
Avoid Trading When:
ADX indicator shows purple bars (ranging market)
Multiple conflicting signals across timeframes
Major news events without clear price structure
Low volume periods (market open/close)
Common Mistakes to Avoid
Ignoring the ADX filter - Taking signals during ranging markets leads to whipsaws
Not waiting for confirmation - Enter only when multiple layers align
Overtrading - Fewer high-quality setups outperform many mediocre ones
Ignoring risk management - Always use the calculated stop losses
Fighting the trend - Trade WITH the SuperTrend and Cirrus Cloud direction
TECHNICAL SPECIFICATIONS
Indicator Type: Overlay (plots on price chart)
Calculation Resources:
Max labels: 500
Max lines: 500
Max boxes: 500
Max bars back: 500
Pine Script Version: 5
Compatible Timeframes: All timeframes (optimized for 1m to 1D)
Compatible Instruments:
Forex pairs
Crypto assets
Stock indices
Individual stocks
Commodities
THEORETICAL FOUNDATION
Trend-Following Concepts
This indicator is based on the principle that markets trend more often than they range, and that trends tend to persist. The SuperTrend component captures this momentum while the range filters prevent premature entries during pullbacks.
Smart Money Theory
The SMC elements are based on the concept that institutional traders (banks, hedge funds) leave footprints in the form of:
Order Blocks: Areas where large orders were placed
Fair Value Gaps: Inefficient price movements that may be revisited
Liquidity Sweeps: Stop hunts before continuation (EQH/EQL)
Volatility-Based Position Sizing
Using ATR for stop-loss placement ensures that stop distances adapt to current market conditions:
Tight stops in low volatility (avoids excessive risk)
Wider stops in high volatility (avoids premature stop-outs)
PERFORMANCE EXPECTATIONS
Realistic Expectations
Win Rate:
Expected: 45-55% (trend-following systems rarely exceed 60%)
Higher win rates on trending days
Lower win rates during consolidation (even with ADX filter)
Risk-Reward Ratio:
Target: 1.5:1 minimum (TP2)
Achievable: 2:1 to 3:1 on strong trends
Drawdowns:
Normal: 10-15% of account during choppy periods
Maximum: Should not exceed 20% with proper risk management
Optimization Tips
Backtesting Recommendations:
Test on at least 1 year of historical data
Include different market conditions (trending, ranging, volatile)
Adjust SuperTrend sensitivity per instrument
Optimize ADX threshold for your specific market
Record trades to identify personal execution errors
FREQUENTLY ASKED QUESTIONS
Q: Can I use this for automated trading?
A: The indicator provides signals, but you'll need to code a strategy script separately for automation. The signals can trigger alerts that connect to trading bots.
Q: Why do I see conflicting signals?
A: This is normal during transition periods. Wait for all confirmation layers to align before entering.
Q: How often should I expect signals?
A: Depends on timeframe and market conditions. On 5m charts during trending markets: 3-7 quality setups per session.
Q: Can I use only some features?
A: Yes, all components can be toggled on/off. However, the system works best with all confirmations active.
Q: What's the difference between internal and swing structures?
A: Internal = minor price structures (smaller pivots). Swing = major price structures (larger pivots). Both provide different levels of confirmation.
DISCLAIMER
This indicator is a tool for technical analysis and should not be the sole basis for trading decisions. Past performance does not guarantee future results. Always:
Use proper risk management
Test on demo accounts first
Never risk more than you can afford to lose
Combine with fundamental analysis when applicable
Understand that no indicator is 100% accurate
License: Mozilla Public License 2.0
Author: DrFXGOD
VERSION HISTORY & UPDATES
Initial Release - Version 1.0
Integrated SuperTrend, Range Filters, ADX, SMC concepts
ATR-based risk management
Multi-timeframe support
Customizable visual elements
SUPPORT & DOCUMENTATION
For questions, suggestions, or bug reports, please comment on the script page or contact the author through TradingView.
Additional Resources:
Smart Money Concepts: Research ICT (Inner Circle Trader) materials
ATR and Volatility: Refer to Wilder's original ATR documentation
SuperTrend Indicator: Study original SuperTrend strategy papers
Smart Structure Pro - Market Structure & Smart Money Concepts═══════════════════════════════════════════════════════════════════════════════
SMART STRUCTURE PRO
═══════════════════════════════════════════════════════════════════════════════
A comprehensive market structure analysis tool that identifies institutional trading 
patterns and smart money concepts for improved trade timing and decision-making.
═══════════════════════════════════════════════════════════════════════════════
📊 WHAT IT DOES
═══════════════════════════════════════════════════════════════════════════════
This indicator automatically detects and visualizes key market structure elements:
🔹 BOS (Break of Structure)
   - Identifies trend continuation patterns
   - Marks when price breaks above previous highs (bullish) or below previous lows (bearish)
   - Confirms trend strength and momentum
🔹 CHoCH (Change of Character)  
   - Detects potential trend reversals
   - Alerts when market structure shifts from bullish to bearish or vice versa
   - Helps identify early reversal opportunities
🔹 Order Blocks
   - Highlights institutional entry zones
   - Identifies the last opposite candle before a structure break
   - Shows areas where smart money likely entered positions
🔹 Fair Value Gaps (FVG)
   - Detects price imbalances and inefficiencies
   - Shows areas where price moved rapidly leaving gaps
   - Often act as support/resistance when retested
🔹 Liquidity Zones
   - Marks swing high and low levels
   - Identifies areas where stop losses likely cluster
   - Shows potential stop hunt and liquidity grab zones
═══════════════════════════════════════════════════════════════════════════════
🎯 HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
BULLISH SETUP:
1. Wait for Bullish CHoCH (trend reversal signal) or BOS ↑ (continuation)
2. Look for price to pull back into an Order Block or Fair Value Gap
3. Enter long when price bounces from these zones
4. Place stop loss below the Order Block
5. Target the next liquidity zone or resistance level
BEARISH SETUP:
1. Wait for Bearish CHoCH (trend reversal signal) or BOS ↓ (continuation)
2. Look for price to retrace into an Order Block or Fair Value Gap
3. Enter short when price rejects from these zones
4. Place stop loss above the Order Block
5. Target the next liquidity zone or support level
DASHBOARD INTERPRETATION:
• Trend: Current market direction (Bullish/Bearish)
• Volume: Confirmation strength (High volume = stronger signals)
• Signal: Latest structure break detected
• Key High/Low: Critical levels for the current trend
• Position: Price location (Premium = expensive, Discount = cheap)
═══════════════════════════════════════════════════════════════════════════════
⚙️ SETTINGS GUIDE
═══════════════════════════════════════════════════════════════════════════════
STRUCTURE DETECTION:
• Pivot Length (Default: 10)
  - Lower values = More signals but potentially weaker
  - Higher values = Fewer signals but stronger/more reliable
  - Recommended: 8-12 for intraday, 10-15 for higher timeframes
• Structure Line Extension
  - Visual preference for how far lines extend
  - Does not affect signal detection
SMART MONEY CONCEPTS:
• Order Block Extension: How long OB boxes remain visible
• FVG Extension: How long gap boxes remain visible  
• Min FVG Size: Filter out small gaps (0 = show all)
  - Set to 10-20% to reduce noise
  - Set to 0 to see all gaps
VOLUME FILTER:
• Volume Confirmation (Recommended: ON)
  - Filters weak signals without volume support
  - Reduces false breakouts
  
• Volume Multiplier (Default: 1.5)
  - Higher = Stricter filtering (fewer but stronger signals)
  - Lower = More signals (but may include weak ones)
DISPLAY:
• Dashboard: Toggle information panel
• Trend Background: Subtle color tint showing current trend
• Dashboard Position: Choose corner placement
═══════════════════════════════════════════════════════════════════════════════
🔔 ALERTS
═══════════════════════════════════════════════════════════════════════════════
Available alert conditions:
✓ Bullish BOS - Uptrend continuation confirmed
✓ Bearish BOS - Downtrend continuation confirmed  
✓ Bullish CHoCH - Reversal to uptrend detected
✓ Bearish CHoCH - Reversal to downtrend detected
✓ Structure Break - Any significant market structure change
To set up alerts:
1. Click the "⏰" alert icon
2. Select "Smart Structure Pro"
3. Choose your desired condition
4. Configure notification method
5. Click "Create"
═══════════════════════════════════════════════════════════════════════════════
⚠️ IMPORTANT DISCLOSURES
═══════════════════════════════════════════════════════════════════════════════
REPAINTING BEHAVIOR:
• Pivot points WILL repaint until confirmed (this is by design and unavoidable)
• Structure breaks (BOS/CHoCH) use CLOSED candles and do NOT repaint after confirmation
• Order Blocks and FVGs are drawn on confirmed signals and do NOT repaint
• All signals wait for candle close before triggering
BEST PRACTICES:
• Use on higher timeframes (15min+) for more reliable signals
• Combine with other analysis (support/resistance, volume profile, etc.)
• Wait for candle close confirmation before acting on signals
• Use proper risk management - this is not a standalone trading system
• Backtest on your preferred instrument and timeframe
PERFORMANCE:
• Limited to 100 boxes, 100 lines, 100 labels for optimal performance
• Older objects automatically removed as new ones appear
• Works on all markets (Forex, Crypto, Stocks, Indices, Commodities)
═══════════════════════════════════════════════════════════════════════════════
📚 CONCEPTS EXPLAINED
═══════════════════════════════════════════════════════════════════════════════
MARKET STRUCTURE:
Market structure refers to the pattern of price movements creating swing highs 
and lows. Understanding structure helps identify trend direction and potential 
reversal points.
SMART MONEY CONCEPTS:
These are trading techniques based on tracking institutional order flow and 
understanding where large players (banks, funds, institutions) enter and exit 
positions.
ORDER BLOCKS:
The last opposing candle before a strong directional move. Institutions often 
leave unfilled orders in these zones, which can act as support/resistance when 
price returns.
FAIR VALUE GAPS:
Areas where price moved so quickly that it left an imbalance. These gaps often 
get "filled" as price returns to find equilibrium, creating trading opportunities.
═══════════════════════════════════════════════════════════════════════════════
🎓 EDUCATIONAL VALUE
═══════════════════════════════════════════════════════════════════════════════
This indicator helps traders:
✓ Understand market structure mechanics
✓ Identify institutional trading patterns  
✓ Improve trade timing and entry precision
✓ Recognize trend continuation vs reversal
✓ Learn smart money concepts through visualization
═══════════════════════════════════════════════════════════════════════════════
📋 TECHNICAL DETAILS
═══════════════════════════════════════════════════════════════════════════════
• Version: 1.0.0
• Pine Script Version: 5
• Indicator Type: Overlay
• No Repainting: Structure breaks use confirmed candles
• Performance Optimized: Limited drawing objects
• Works On: All markets and timeframes
• Alerts: Yes, fully customizable
═══════════════════════════════════════════════════════════════════════════════
👤 AUTHOR
═══════════════════════════════════════════════════════════════════════════════
Created by: Zakaria Safri
Original Work: All code and concepts are original implementations
Based On: ICT (Inner Circle Trader) educational concepts
License: © 2024 Zakaria Safri - Personal Use Only
═══════════════════════════════════════════════════════════════════════════════
⚖️ DISCLAIMER
═══════════════════════════════════════════════════════════════════════════════
This indicator is for educational and informational purposes only. It does not 
constitute financial advice. Trading involves substantial risk of loss. Past 
performance does not guarantee future results. Always conduct your own research 
and consult with a licensed financial advisor before making trading decisions.
The author is not responsible for any losses incurred from using this indicator.
═══════════════════════════════════════════════════════════════════════════════
If you find this indicator helpful, please:
👍 Like and favorite
⭐ Leave a review  
📢 Share with other traders
💬 Comment with feedback or suggestions
Happy Trading! 📈
Yuki Leverage RR Calculator**YUKI LEVERAGE RR CALCULATOR**
A professional-grade risk/reward calculator for leveraged crypto or forex trades.
Instantly visualizes entry, stop loss, targets, leverage, and risk-to-reward ratios — helping you plan precise positions with confidence.
──────────────────────────────
**WHAT IT DOES**
Calculates position value, quantity, stop-loss price, liquidation estimate, and per-target profit.
Displays everything in an on-chart table with optional price tags and alerts.
──────────────────────────────
**KEY FEATURES**
• Long / Short toggle (only one active at a time)
• Leverage-aware position sizing based on Position Cost ($) and Leverage
• Dynamic Stop Loss: input % → auto price + $ risk
• Up to 3 Take-Profit Targets with scaling logic
• Instant R:R ratios per target
• Liquidation estimate (approximation only)
• ENTRY / SL / T1 / T2 / T3 / LIQ visual tags
• Dark/Light mode, adjustable table and tag size
• Built-in alerts for Targets and Stop Loss
──────────────────────────────
**INPUTS**
• Long or Short selection
• Entry Price, Stop Loss %
• Target 1 / Target 2 / Target 3 + Take Profit %
• Position Cost ($), Leverage
• Visual preferences: show/hide table, table corner, font size, tag offset, text size
──────────────────────────────
**TABLE OUTPUTS**
Position Info: Type, Entry, Position Cost, Leverage, Value
Risk Section: Stop Loss %, Stop Loss Price, Total Risk ($), Liquidation % & Price
Targets 1–3: Profit ($), R:R, Take Profit ($), Runner % or PnL
──────────────────────────────
**ALERTS**
• Target 1 Hit – when price crosses T1
• Target 2 Hit – when price crosses T2
• Target 3 Hit – when price crosses T3
• Stop Loss Hit – triggers based on direction
(Use TradingView Alerts → Condition → Indicator → select desired alert)
──────────────────────────────
**HOW TO USE**
1. Choose Long or Short
2. Enter Entry Price, Stop Loss %, Position Cost, and Leverage
3. Add Targets 1–3 with optional Take Profit %
4. Adjust visuals as desired
5. Monitor table + alerts for live trade planning
──────────────────────────────
**NOTES**
• Liquidation values are estimates only
• Fees, slippage, and funding not included
• Designed for educational and planning purposes
──────────────────────────────
⚠️ **DISCLAIMER**
For educational use only — not financial advice.
Trading leveraged products involves high risk of loss.
Always confirm calculations with your exchange and trade responsibly.
RSI Bollinger Bands [DCAUT]█ RSI Bollinger Bands  
 📊 ORIGINALITY & INNOVATION 
The RSI Bollinger Bands indicator represents a meaningful advancement in momentum analysis by combining two proven technical tools: the Relative Strength Index (RSI) and Bollinger Bands. This combination addresses a significant limitation in traditional RSI analysis - the use of fixed overbought/oversold thresholds (typically 70/30) that fail to adapt to changing market volatility conditions.
 Core Innovation: 
Rather than relying on static threshold levels, this indicator applies Bollinger Bands statistical analysis directly to RSI values, creating dynamic zones that automatically adjust based on recent momentum volatility. This approach helps reduce false signals during low volatility periods while remaining sensitive to genuine extremes during high volatility conditions.
 Key Enhancements Over Traditional RSI: 
 
 Dynamic Thresholds: Overbought/oversold zones adapt to market conditions automatically, eliminating the need for manual threshold adjustments across different instruments and timeframes
 Volatility Context: Band width provides immediate visual feedback about momentum volatility, helping traders distinguish between stable trends and erratic movements
 Reduced False Signals: During ranging markets, narrower bands filter out minor RSI fluctuations that would trigger traditional fixed-threshold signals
 Breakout Preparation: Band squeeze patterns (similar to price-based BB) signal potential momentum regime changes before they occur
 Self-Referencing Analysis: By measuring RSI against its own statistical behavior rather than arbitrary levels, the indicator provides more relevant context
 
 📐 MATHEMATICAL FOUNDATION 
 Two-Stage Calculation Process: 
 Stage 1: RSI Calculation 
RSI = 100 - (100 / (1 + RS))
where RS = Average Gain / Average Loss over specified period
The RSI normalizes price momentum into a bounded 0-100 scale, making it ideal for statistical band analysis.
 Stage 2: Bollinger Bands on RSI 
Basis = MA(RSI, BB Length)
Upper Band = Basis + (StdDev(RSI, BB Length) × Multiplier)
Lower Band = Basis - (StdDev(RSI, BB Length) × Multiplier)
Band Width = Upper Band - Lower Band
The Bollinger Bands measure RSI's standard deviation from its own moving average, creating statistically-derived dynamic zones.
 Statistical Interpretation: 
 
 Under normal distribution assumptions with default 2.0 multiplier, approximately 95% of RSI values should fall within the bands
 Band touches represent statistically significant momentum extremes relative to recent behavior
 Band width expansion indicates increasing momentum volatility (strengthening trend or increasing uncertainty)
 Band width contraction signals momentum consolidation and potential regime change preparation
 
 📊 COMPREHENSIVE SIGNAL ANALYSIS 
 Visual Color Signals: 
This indicator features dynamic color fills that highlight extreme momentum conditions:
 Green Fill (Above Upper Band): 
 
 Appears when RSI breaks above the upper band, indicating exceptionally strong bullish momentum
 Represents dynamic overbought zone - not necessarily a reversal signal but a warning of extreme conditions
 In strong uptrends, green fills can persist as RSI "rides the band" - this indicates sustained momentum strength
 Exit of green zone (RSI falling back below upper band) often signals initial momentum weakening
 
 Red Fill (Below Lower Band): 
 
 Appears when RSI breaks below the lower band, indicating exceptionally weak bearish momentum
 Represents dynamic oversold zone - potential reversal or continuation signal depending on trend context
 In strong downtrends, red fills can persist as RSI "rides the band" - this indicates sustained selling pressure
 Exit of red zone (RSI rising back above lower band) often signals initial momentum recovery
 
 Position-Based Signals: 
 Upper Band Interactions: 
 
 RSI Touching Upper Band: Dynamic overbought condition - momentum is extremely strong relative to recent volatility, potential exhaustion or continuation depending on trend context
 RSI Riding Upper Band: Sustained strong momentum, often seen in powerful trends, not necessarily an immediate reversal signal but warrants monitoring for exhaustion
 RSI Crossing Below Upper Band: Initial momentum weakening signal, particularly significant if accompanied by price divergence
 
 Lower Band Interactions: 
 
 RSI Touching Lower Band: Dynamic oversold condition - momentum is extremely weak relative to recent volatility, potential reversal or continuation of downtrend
 RSI Riding Lower Band: Sustained weak momentum, common in strong downtrends, monitor for potential exhaustion
 RSI Crossing Above Lower Band: Initial momentum strengthening signal, early indication of potential reversal or consolidation
 
 Basis Line Signals: 
 
 RSI Above Basis: Bullish momentum regime - upward pressure dominant
 RSI Below Basis: Bearish momentum regime - downward pressure dominant
 Basis Crossovers: Momentum regime shifts, more significant when accompanied by band width changes
 RSI Oscillating Around Basis: Balanced momentum, often indicates ranging market conditions
 
 Volatility-Based Signals: 
 Band Width Patterns: 
 
 Narrow Bands (Squeeze): Momentum volatility compression, often precedes significant directional moves, similar to price coiling patterns
 Expanding Bands: Increasing momentum volatility, indicates trend acceleration or growing uncertainty
 Narrowest Band in 100 Bars: Extreme compression alert, high probability of upcoming volatility expansion
 
 Advanced Pattern Recognition: 
 Divergence Analysis: 
 
 Bullish Divergence: Price makes lower lows while RSI touches or stays above previous lower band touch, suggests downward momentum weakening
 Bearish Divergence: Price makes higher highs while RSI touches or stays below previous upper band touch, suggests upward momentum weakening
 Hidden Bullish: Price makes higher lows while RSI makes lower lows at the lower band, indicates strong underlying bullish momentum
 Hidden Bearish: Price makes lower highs while RSI makes higher highs at the upper band, indicates strong underlying bearish momentum
 
 Band Walk Patterns: 
 
 Upper Band Walk: RSI consistently touching or staying near upper band indicates exceptionally strong trend, wait for clear break below basis before considering reversal
 Lower Band Walk: RSI consistently at lower band signals very weak momentum, requires break above basis for reversal confirmation
 
 🎯 STRATEGIC APPLICATIONS 
 Strategy 1: Mean Reversion Trading 
 Setup Conditions: 
 
 Market Type: Ranging or choppy markets with no clear directional trend
 Timeframe: Works best on lower timeframes (5m-1H) or during consolidation phases
 Band Characteristic: Normal to narrow band width
 
 Entry Rules: 
 
 Long Entry: RSI touches or crosses below lower band, wait for RSI to start rising back toward basis before entry
 Short Entry: RSI touches or crosses above upper band, wait for RSI to start falling back toward basis before entry
 Confirmation: Use price action confirmation (candlestick reversal patterns) at band touches
 
 Exit Rules: 
 
 Target: RSI returns to basis line or opposite band
 Stop Loss: Fixed percentage or below recent swing low/high
 Time Stop: Exit if position not profitable within expected timeframe
 
 Strategy 2: Trend Continuation Trading 
 Setup Conditions: 
 
 Market Type: Clear trending market with higher highs/lower lows
 Timeframe: Medium to higher timeframes (1H-Daily)
 Band Characteristic: Expanding or wide bands indicating strong momentum
 
 Entry Rules: 
 
 Long Entry in Uptrend: Wait for RSI to pull back to basis line or slightly below, enter when RSI starts rising again
 Short Entry in Downtrend: Wait for RSI to rally to basis line or slightly above, enter when RSI starts falling again
 Avoid Counter-Trend: Do not fade RSI at bands during strong trends (band walk patterns)
 
 Exit Rules: 
 
 Trailing Stop: Move stop to break-even when RSI reaches opposite band
 Trend Break: Exit when RSI crosses basis against trend direction with conviction
 Band Squeeze: Reduce position size when bands start narrowing significantly
 
 Strategy 3: Breakout Preparation 
 Setup Conditions: 
 
 Market Type: Consolidating market after significant move or at key technical levels
 Timeframe: Any timeframe, but longer timeframes provide more reliable breakouts
 Band Characteristic: Narrowest band width in recent 100 bars (squeeze alert)
 
 Preparation Phase: 
 
 Identify band squeeze condition (bands at multi-period narrowest point)
 Monitor price action for consolidation patterns (triangles, rectangles, flags)
 Prepare bracket orders for both directions
 Wait for band expansion to begin
 
 Entry Execution: 
 
 Breakout Confirmation: Enter in direction of RSI band breakout (RSI breaks above upper band or below lower band)
 Price Confirmation: Ensure price also breaks corresponding technical level
 Volume Confirmation: Look for volume expansion supporting the breakout
 
 Risk Management: 
 
 Stop Loss: Place beyond consolidation pattern opposite extreme
 Position Sizing: Use smaller size due to false breakout risk
 Quick Exit: Exit immediately if RSI returns inside bands within 1-3 bars
 
 Strategy 4: Multi-Timeframe Analysis 
 Timeframe Selection: 
 
 Higher Timeframe: Daily or 4H for trend context
 Trading Timeframe: 1H or 15m for entry signals
 Confirmation Timeframe: 5m or 1m for precise entry timing
 
 Analysis Process: 
 
 Trend Identification: Check higher timeframe RSI position relative to bands, trade only in direction of higher timeframe momentum
 Setup Formation: Wait for trading timeframe RSI to show pullback to basis in trending direction
 Entry Timing: Use confirmation timeframe RSI band touch or crossover for precise entry
 Alignment Confirmation: All timeframes should show RSI moving in same direction for highest probability setups
 
 📋 DETAILED PARAMETER CONFIGURATION 
 RSI Source: 
 
 Close (Default): Standard price point, balances responsiveness and reliability
 HL2: Reduces noise from intrabar volatility, provides smoother RSI values
 HLC3 or OHLC4: Further smoothing for very choppy markets, slower to respond but more stable
 Volume-Weighted: Consider using VWAP or volume-weighted prices for additional liquidity context
 
 RSI Length Parameter: 
 
 Shorter Periods (5-10): More responsive but generates more signals, suitable for scalping or very active trading, higher noise level
 Standard (14): Default and most widely used setting, proven balance between responsiveness and reliability, recommended starting point
 Longer Periods (21-30): Smoother momentum measurement, fewer but potentially more reliable signals, better for swing trading or position trading
 Optimization Note: Test across different market regimes, optimal length often varies by instrument volatility characteristics
 
 RSI MA Type Parameter: 
 
 RMA (Default): Wilder's original smoothing method, provides traditional RSI behavior with balanced lag, most widely recognized and tested, recommended for standard technical analysis
 EMA: Exponential smoothing gives more weight to recent values, faster response to momentum changes, suitable for active trading and trending markets, reduces lag compared to RMA
 SMA: Simple average treats all periods equally, smoothest output with highest lag, best for filtering noise in choppy markets, useful for long-term position analysis
 WMA: Weighted average emphasizes recent data less aggressively than EMA, middle ground between SMA and EMA characteristics, balanced responsiveness for swing trading
 Advanced Options: Full access to 25+ moving average types including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive behavior), T3 (smoothness), Kalman Filter (optimal estimation)
 Selection Guide: RMA for traditional analysis and backtesting consistency, EMA for faster signals in trending markets, SMA for stability in ranging markets, adaptive types (KAMA/FRAMA) for varying volatility regimes
 
 BB Length Parameter: 
 
 Short Length (10-15): Tighter bands that react quickly to RSI changes, more frequent band touches, suitable for active trading styles
 Standard (20): Balanced approach providing meaningful statistical context without excessive lag
 Long Length (30-50): Smoother bands that filter minor RSI fluctuations, captures only significant momentum extremes, fewer but higher quality signals
 Relationship to RSI Length: Consider BB Length greater than RSI Length for cleaner signals
 
 BB MA Type Parameter: 
 
 SMA (Default): Standard Bollinger Bands calculation using simple moving average for basis line, treats all periods equally, widely recognized and tested approach
 EMA: Exponential smoothing for basis line gives more weight to recent RSI values, creates more responsive bands that adapt faster to momentum changes, suitable for trending markets
 RMA: Wilder's smoothing provides consistent behavior aligned with traditional RSI when using RMA for both RSI and BB calculations
 WMA: Weighted average for basis line balances recent emphasis with historical context, middle ground between SMA and EMA responsiveness
 Advanced Options: Full access to 25+ moving average types for basis calculation, including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive to volatility changes)
 Selection Guide: SMA for standard Bollinger Bands behavior and backtesting consistency, EMA for faster band adaptation in dynamic markets, matching RSI MA type creates unified smoothing behavior
 
 BB Multiplier Parameter: 
 
 Conservative (1.5-1.8): Tighter bands resulting in more frequent touches, useful in low volatility environments, higher signal frequency but potentially more false signals
 Standard (2.0): Default setting representing approximately 95% confidence interval under normal distribution, widely accepted statistical threshold
 Aggressive (2.5-3.0): Wider bands capturing only extreme momentum conditions, fewer but potentially more significant signals, reduces false signals in high volatility
 Adaptive Approach: Consider adjusting multiplier based on instrument characteristics, lower multiplier for stable instruments, higher for volatile instruments
 
 Parameter Optimization Workflow: 
 
 Start with default parameters (RSI:14, BB:20, Mult:2.0)
 Test across representative sample period including different market regimes
 Adjust RSI length based on desired responsiveness vs stability tradeoff
 Tune BB length to match your typical holding period
 Modify multiplier to achieve desired signal frequency
 Validate on out-of-sample data to avoid overfitting
 Document optimal parameters for different instruments and timeframes
 
 Reference Levels Display: 
 
 Enabled (Default): Shows traditional 30/50/70 levels for comparison with dynamic bands, helps visualize the adaptive advantage
 Disabled: Cleaner chart focusing purely on dynamic zones, reduces visual clutter for experienced users
 Educational Value: Keeping reference levels visible helps understand how dynamic bands differ from fixed thresholds across varying market conditions
 
 📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES 
 Comparison with Traditional RSI: 
 Fixed Threshold RSI Limitations: 
 
 In ranging low-volatility markets: RSI rarely reaches 70/30, missing tradable extremes
 In trending high-volatility markets: RSI frequently breaks through 70/30, generating excessive false reversal signals
 Across different instruments: Same thresholds applied to volatile crypto and stable forex pairs produce inconsistent results
 Threshold Adjustment Problem: Manually changing thresholds for different conditions is subjective and lagging
 
 RSI Bollinger Bands Advantages: 
 
 Automatic Adaptation: Bands adjust to current volatility regime without manual intervention
 Consistent Logic: Same statistical approach works across different instruments and timeframes
 Reduced False Signals: Band width filtering helps distinguish meaningful extremes from noise
 Additional Information: Band width provides volatility context missing in standard RSI
 Objective Extremes: Statistical basis (standard deviations) provides objective extreme definition
 
 Comparison with Price-Based Bollinger Bands: 
 Price BB Characteristics: 
 
 Measures absolute price volatility
 Affected by large price gaps and outliers
 Band position relative to price not normalized
 Difficult to compare across different price scales
 
 RSI BB Advantages: 
 
 Normalized Scale: RSI's 0-100 bounds make band interpretation consistent across all instruments
 Momentum Focus: Directly measures momentum extremes rather than price extremes
 Reduced Gap Impact: RSI calculation smooths price gaps impact on band calculations
 Comparable Analysis: Same RSI BB appearance across stocks, forex, crypto enables consistent strategy application
 
 Performance Characteristics: 
 Signal Quality: 
 
 Higher Signal-to-Noise Ratio: Dynamic bands help filter RSI oscillations that don't represent meaningful extremes
 Context-Aware Alerts: Band width provides volatility context helping traders adjust position sizing and stop placement
 Reduced Whipsaws: During consolidations, narrower bands prevent premature signals from minor RSI movements
 
 Responsiveness: 
 
 Adaptive Lag: Band calculation introduces some lag, but this lag is adaptive to current conditions rather than fixed
 Faster Than Manual Adjustment: Automatic band adjustment is faster than trader's ability to manually modify thresholds
 Balanced Approach: Combines RSI's inherent momentum lag with BB's statistical smoothing for stable yet responsive signals
 
 Versatility: 
 
 Multi-Strategy Application: Supports both mean reversion (ranging markets) and trend continuation (trending markets) approaches
 Universal Instrument Coverage: Works effectively across equities, forex, commodities, cryptocurrencies without parameter changes
 Timeframe Agnostic: Same interpretation applies from 1-minute charts to monthly charts
 
 Limitations and Considerations: 
 Known Limitations: 
 
 Dual Lag Effect: Combines RSI's momentum lag with BB's statistical lag, making it less suitable for very short-term scalping
 Requires Volatility History: Needs sufficient bars for BB calculation, less effective immediately after major regime changes
 Statistical Assumptions: Assumes RSI values are somewhat normally distributed, extreme trending conditions may violate this
 Not a Standalone System: Like all indicators, should be combined with price action analysis and risk management
 
 Optimal Use Cases: 
 
 Best for swing trading and position trading timeframes
 Most effective in markets with alternating volatility regimes
 Ideal for traders who use multiple instruments and timeframes
 Suitable for systematic trading approaches requiring consistent logic
 
 Suboptimal Conditions: 
 
 Very low timeframes (< 5 minutes) where lag becomes problematic
 Instruments with extreme volatility spikes (gap-prone markets)
 Markets in strong persistent trends where mean reversion rarely occurs
 Periods immediately following major structural changes (new trading regime)
 
 USAGE NOTES 
This indicator is designed for technical analysis and educational purposes to help traders understand the interaction between momentum measurement and statistical volatility bands. The RSI Bollinger Bands has limitations and should not be used as the sole basis for trading decisions.
 Important Considerations: 
 
 No Predictive Guarantee: Past band touches and patterns do not guarantee future price behavior
 Market Regime Dependency: Indicator performance varies significantly between trending and ranging market conditions
 Complementary Analysis Required: Should be used alongside price action, support/resistance levels, and fundamental analysis
 Risk Management Essential: Always use proper position sizing, stop losses, and risk controls regardless of signal quality
 Parameter Sensitivity: Different instruments and timeframes may require parameter optimization for optimal results
 Continuous Monitoring: Band characteristics change with market conditions, requiring ongoing assessment
 
 Recommended Supporting Analysis: 
 
 Price structure analysis (support/resistance, trend lines)
 Volume confirmation for breakout signals
 Multiple timeframe alignment
 Market context awareness (news events, session times)
 Correlation analysis with related instruments
 
The indicator aims to provide adaptive momentum analysis that adjusts to changing market volatility, but traders must apply sound judgment, proper risk management, and comprehensive market analysis in their decision-making process.
Strong Economic Events Indicator (mtbr)This indicator is designed to help traders anticipate market reactions to key economic events and visualize trade levels directly on their TradingView charts. It is highly customizable, allowing precise planning for entries, take-profits, and stop-losses.
 Key Features: 
Multi-Event Support:
Supports dozens of economic events including ISM Services PMI, CPI, Core CPI, PPI, Non-Farm Payrolls, Unemployment Rate, Retail Sales, GDP, and major central bank rate decisions (Fed, ECB, BOE, BOJ, Australia, Brazil, Canada, China).
 Custom Event Date and Time: 
Manually set the year, month, day, hour, and minute of the event to match your chart and timezone, ensuring accurate alignment.
 Forecast vs Actual Analysis: 
Input the forecast and actual values. The indicator calculates the likely market direction (Buy/Sell/Neutral) according to historical market reactions for each event.
 Dynamic Trade Levels: 
Automatically plots:
Entry price
TP1, TP2, TP3 in pips relative to the entry
Stop Loss in pips relative to the entry
Levels are automatically adjusted based on the event's Buy/Sell direction.
 Visual Chart Representation: 
Entry: Blue line and label
TP1/TP2/TP3: Green lines and labels
Stop Loss: Red line and label
Event occurrence: Orange dashed vertical line
 Informative Table Panel: 
Displays at the bottom-right of the chart:
Event name
Entry price
TP1, TP2, TP3 values
Current market direction (Buy/Sell/Neutral)
 Customizable Line Extension: 
Extend the lines for visibility across multiple bars on the chart.
 How to Use the Indicator: 
Select the Asset:
Set the Asset to Trade input to the symbol you want to analyze (e.g., XAUUSD, EURUSD).
 Choose the Economic Event: 
Use the drop-down menu to select the event you want to track.
 Set the Event Date and Time: 
Input the year, month, day, hour, and minute of the event. This ensures the event lines and labels appear at the correct time on your chart.
 Input Forecast and Actual Values: 
Enter the forecasted value and the actual result of the event. The script will determine market direction based on historically observed reactions for that event.
 Configure Entry and Pip Levels: 
Set your Entry Price
Set pip distances for TP1, TP2, TP3, and Stop Loss
The script automatically adjusts the levels according to Buy or Sell direction.
 View Levels and Status: 
Once the event occurs (or on backtesting), the indicator will plot:
Entry, Take Profits, Stop Loss on the chart
Vertical line for event occurrence
Table summarizing levels and Buy/Sell status
 Adjust Line Extension: 
Use the Line Extension (bars) input to control how far the horizontal levels extend on the chart.
 Example Scenario: 
Event: PPI MoM
Forecast: 0.2
Actual: 0.9
The indicator identifies the correct market reaction (Sell for EURUSD) and plots the Entry, TP1, TP2, TP3, and Stop Loss accordingly.
 Important Notes: 
The indicator does not execute trades automatically; it is for analysis and visualization only.
Always combine the signals with your own risk management and analysis.
Ensure your chart is set to the correct timezone corresponding to the event’s time.
This description fully explains how to use the indicator, what it displays, and step-by-step guidance for beginners and experienced traders
Institutional Analyst LLM📊 Institutional Analyst Board LLM – Smart Money Confluence Scanner for XAUUSD, Forex, Crypto 🔍 Overview The Institutional Analyst Board is a complete multi-timeframe smart money toolkit designed for traders who demand clarity, confluence, and precision. It brings together institutional-grade metrics—Order Blocks (OB), Fair Value Gaps (FVG), Liquidity Sweeps, MACD/RSI...
 
PTS Ultimate Analysis Board (Flexible Position + Ticker)
GoldenTradeClub
GoldenTradeClub
Updated 
Jul 15
PTS Ultimate Analysis Board (Flexible Position + Ticker) Version: Pine v5 Description: This indicator builds a fully customizable, multi-timeframe dashboard table that surfaces 19 key metrics for any ticker (current chart TF, 1 h, 4 h). You can position the table at the top-right or bottom-right of your chart and toggle each metric on or off. Key...
 
Trading Engine AI Light
GoldenTradeClub
GoldenTradeClub
Jul 14
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
Elliott Wave Complete  
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: Elliott Wave Complete Type: Pine Script v5 overlay dashboard for TradingView Purpose: Automates Elliott Wave motive (1-5) and corrective (A-B-C) pattern detection on any timeframe, enriches it with classic ZigZag pivots, dynamic Fibonacci projection levels, optional wave-count info box, and real-time alerts—all in one...
 
💀⚡ PTS WIZARD 666™ ULTIMATE SUPREME V5.0 - COMPLETE FIXED ⚡💀
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 💀⚡ PTS WIZARD 666™ ULTIMATE SUPREME V5.0 – COMPLETE FIXED Short ID: PTS-666-SUPREME Type: Pine Script v5 overlay dashboard for TradingView Purpose: An all-in-one trading overlay that integrates advanced WaveTrend momentum, RSI/MFI analysis, POC volume profiling, multiple Fibonacci golden/ultimate zones, volume footprint & imbalance...
 
🔥 PTS TRADE 666™ ULTIMATE BOOKMAP + QUANTUM ENGINE  
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS TRADE 666™ ULTIMATE BOOKMAP + QUANTUM ENGINE Short ID: PTS666_QUANTUM_FINAL Type: Pine Script v5 overlay dashboard for TradingView Purpose: A cutting-edge, institutional-grade suite that unifies bookmap-style footprint volume profiling, dynamic heatmap liquidity analysis, AI-driven pattern recognition, smart-money protocols,...
 
🔥 PTS TRADE 666™ - ULTIMATE INSTITUTIONAL TOOL   🔥
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS TRADE 666™ – ULTIMATE INSTITUTIONAL TOOL V2.0 Short ID: PTS666_UIT_V2 Type: Pine Script v5 overlay dashboard for TradingView Purpose: Combines institutional-grade footprint volume analysis, smart-money structure detection, statistical anomaly checks, multi-timeframe divergence, Ichimoku insights, pattern recognition, and an...
 
PTS Wizard
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: PTS Wizard Short Title: PTS Wizard Type: Pine Script v5 overlay dashboard for TradingView Purpose: A unified multi-strategy toolkit that overlays key market insights—liquidity zones, smart-money structure, footprint-style volume profile, consolidation ranges, statistical deviation bands, price forecasts, and session analysis—into a...
 
🔥 PTS.TRADE 666™ ULTIMATE HYBRID + MTF V3
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS.TRADE 666™ ULTIMATE HYBRID + MTF V3 Short ID: PTS666_ULTIMATE_MTF_V3 Type: Overlay dashboard for TradingView Purpose: A next-level hybrid trading suite that merges institutional-grade order-flow analysis, smart-money concepts, AI-driven insights, classic momentum oscillators (WaveTrend, divergence, “Gold” signals),...
 
🧙♂ PTS WIZARD V3.0 - FINAL EDITION
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🧙♂ PTS WIZARD V3.0 – FINAL EDITION Short Title: PTS-WIZARD-V3-FINAL Type: Overlay trading dashboard for TradingView Purpose: A comprehensive multi-module indicator that blends classic cipher momentum signals, Elliott Wave pattern detection, advanced statistical analyses (Z-Score, Benford’s Law, Ehlers SNR), footprint-style volume...
 
🧙♂ PTS WIZARD V3.0 + FOOTPRINT ULTIMATE
GoldenTradeClub
GoldenTradeClub
Jul 4
Name: PTS WIZARD V3.0 + FOOTPRINT ULTIMATE Type: Overlay trading dashboard for TradingView Purpose: Combines classic cipher-style momentum signals with an advanced footprint volume profile, multi-timeframe bias, statistical filters, and a fusion-score system—displayed in a customizable on-chart dashboard. Core Modules Cipher Momentum Signals WaveTrend...
 
🧙♂ PTS WIZARD V3.0 - BASIC
GoldenTradeClub
GoldenTradeClub
Jul 1
PTS WIZARD V3.0 Basic – Ultimate Multi-Tool Trading Dashboard An all-in-one overlay combining classic cipher signals, Elliott Wave pattern detection, volume analytics, divergence spotting, and smart-entry timing—backed by advanced statistical filters and a live dashboard. Key Features Cipher Signals WaveTrend with overbought/oversold zones & cross signals RSI...
 
Trading Engine vCD AI
GoldenTradeClub
GoldenTradeClub
Jun 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
Trading Engine vCD
GoldenTradeClub
GoldenTradeClub
Updated 
Mar 21
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
TE CLIENT v13
GoldenTradeClub
GoldenTradeClub
Updated 
Mar 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
Trading Engine v13
GoldenTradeClub
GoldenTradeClub
Updated 
Mar 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
Trading Engine B2B
GoldenTradeClub
GoldenTradeClub
Updated 
Jan 14
The Trading Engine includes the best and most effective technical analysis tools. It has 25 different Buy Signal parameters and 24 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
 
Trading Engine B2B FX V9
GoldenTradeClub
GoldenTradeClub
Updated 
Jan 14
The VFLOW Trading Engine includes the best and most effective technical analysis tools. It has 20 different Buy Signal parameters and 18 different Sell Signal parameters. Furthermore, it also has 7 Stop Loss triggers for Long Positions and 5 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss...
 
English
Select market data provided by ICE Data services.
Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.
© 2025 TradingView, Inc.
More than a product
Supercharts
Screeners
Stocks
ETFs
Bonds
Crypto coins
CEX pairs
DEX pairs
Pine
Heatmaps
Stocks
ETFs
Crypto
Calendars
Economic
Earnings
Dividends
More products
Yield Curves
Options
News Flow
Pine Script®
Apps
Mobile
Desktop
Tools & subscriptions
Features
Pricing
Market data
Trading
Overview
Brokers
Special offers
CME Group futures
Eurex futures
US stocks bundle
About company
Who we are
Athletes
Blog
Careers
Media kit
Merch
TradingView store
Tarot cards for traders
The C63 TradeTime
Policies & security
Terms of Use
Disclaimer
Privacy Policy
Cookies Policy
Accessibility Statement
Security tips
Bug Bounty program
Status page
Community
Social network
Wall of Love
Refer a friend
House Rules
Moderators
Ideas
Trading
Education
Editors' picks
Pine Script
Indicators & strategies
Wizards
Freelancers
Business solutions
Widgets
Charting libraries
Lightweight Charts™
Advanced Charts
Trading Platform
Growth opportunities
Advertising
Brokerage integration
Partner program
Education program
Look First
Close
Updated 3 hours ago
Institutional Analyst Board
Manage access
Remove from favorites
Use on chart
0
11
Jul 19
📊 Institutional Analyst Board – Smart Money Confluence Scanner for XAUUSD, Forex, Crypto
🔍 Overview
The Institutional Analyst Board is a complete multi-timeframe smart money toolkit designed for traders who demand clarity, confluence, and precision. It brings together institutional-grade metrics—Order Blocks (OB), Fair Value Gaps (FVG), Liquidity Sweeps, MACD/RSI bias, VWAP positioning, and Break of Structure (BoS)—into a single powerful visual dashboard.
This indicator is especially optimized for Gold (XAUUSD) but is also compatible with Crypto and Forex assets.
🧠 Key Features
✅ Multi-Timeframe Dashboard (5M / 15M / 1H)
✅ Order Block Detection with dynamic zones that extend until broken
✅ Fair Value Gap Detection with clear zone shading and border distinction
✅ MACD + RSI Confluence for momentum and bias alignment
✅ VWAP Positioning to identify premium/discount zones
✅ Liquidity Sweeps (internal/external range breaks)
✅ Killzone Highlighting (Asia / London / New York)
✅ Break of Structure (BoS) with advanced confluence filters
✅ Gold Bias Flags across timeframes (BUY / SELL / NEUTRAL)
✅ Dynamic Price Watermark with real-time data
✅ Fully customizable colors, transparencies, and text labels
🧠 How It Works
The Board uses institutional logic to analyze the chart in real time:
Metric Purpose
OB Zones Highlight potential smart money footprints where price is likely to react.
FVG Zones Identify imbalance areas between buyers and sellers—ideal for mean reversion entries.
MACD/RSI Confirm momentum direction and relative strength confluence.
VWAP Determine whether price is trading at a premium or discount.
Liquidity Sweeps Detect manipulative moves before major reversals.
BoS Mark potential trend reversals, filtered by institutional confluence.
Each signal is computed across 3 timeframes and visualized in a clean board that updates live. You’ll also see labels, alerts, and session overlays for maximum clarity.
📌 Ideal Use Case
This tool is perfect for:
Funded Challenge Traders (FTMO, MyForexFunds, etc.)
Gold scalpers and intraday traders
Crypto price action traders using BTC, ETH, SOL, etc.
Smart Money Concept (SMC) and ICT followers
⚙️ Customization Options
Toggle each module (OB, FVG, VWAP, MACD/RSI, etc.)
Set transparency and color for each zone type
Adjust Killzone timing (Asia, London, NY)
Control board position (Top/Bottom) and metric visibility
📈 Compatible Assets
✅ XAUUSD (optimized)
✅ Forex majors/minors
✅ Crypto pairs (BTC, ETH, SOL, etc.)
✅ Indices (GER40, NASDAQ, SPX with minor adaptation)
🛠️ Requirements
Use on TradingView v5
Set chart time to UTC+0 or UTC+3 for optimal Killzone accuracy
For crypto, redefine Killzone hours if needed (24/7 market)
🧠 Pro Tip
Pair this indicator with volume profile tools, CVD/Delta Flow, or Footprint overlays to build high-confidence trade setups with clear institutional confluence.
Pineify Signals and OverlaysIndicator Theoretical Basis 
Pineify Signals and Overlays is an invite-only trend-following and reversal-detection toolkit that fuses four well-known concepts— Dow-Theory trend phases , a multi-pair EMA cloud, QQE momentum, and ATR-based risk management—into a single, weight-balanced engine. An optional multi-time-frame (MTF) filter aligns lower-time-frame signals with higher-time-frame structure, helping traders avoid counter-trend setups. All components can be toggled from the settings panel, and a beginner “One-Click” preset loads a conservative profile out of the box.
Why it’s a single script: The algorithm scores every bar on  three orthogonal axes—trend, momentum, and volatility—then issues context-aware arrows and coloured clouds only when the axes agree within user-defined tolerances.  This inter-locking logic cannot be reproduced by simply stacking independent indicators on a chart, hence the need for an integrated implementation. 
 Trend Confirmation 
Trend Confirmation: This indicator presents two types of market trends: the  primary trend  and the  secondary trend.  The primary trend is the long - term direction of the market and can last for days or months; the secondary trend is the adjustment phase within the primary trend.
This indicator uses the EMA (Exponential Moving Average) and visualizes the trend phases through color filling. The judgment of the trend is that blue plus green indicates a bullish trend, and yellow plus red indicates a bearish trend.
The primary trend of this indicator is visualized by two sets of moving averages through color filling. These two sets of moving averages are used to describe the short - term and long - term trends in the market.
The short - period moving averages and the long - period moving averages each consist of 4 moving averages, with a total of 8 moving averages, representing the short - term fluctuations and trends of the market.
Trend Persistence: Once the primary trend is formed, it will persist for a period of time. This indicator judges based on the Dow Theory. Short - term market fluctuations do not necessarily reflect changes in the primary trend. Therefore, the judgment direction of the primary trend is visualized through color.
  
 The Signals of Buying, Selling and Closing 
In the primary trend, we can see signals of trend reversal. This indicator incorporates the "Consecutive Candles". The indicator mainly identifies the overbought or oversold state of the market through a series of consecutive conditions, so as to predict the reversal point. The core of this indicator is to identify a series of consecutive price movements in the market trend and determine whether the market is about to reverse based on this sequence. We visualize the turning points through buy and sell signals.
The trend confirmation system utilizes  four pairs of Exponential Moving Averages (EMAs)  creating dynamic cloud formations that visualize market direction. Short-period EMAs (5, 8, 20, 34) interact with longer-period EMAs (9, 13, 21, 50) to generate color-coded trend clouds  . Blue and green clouds indicate bullish conditions, while yellow and red clouds signal bearish trends, providing immediate visual trend identification.
  
The presentation of buying and selling points, namely "Quantitative Qualitative Estimation", is a technical indicator that combines the concepts of the Relative Strength Index (RSI) and moving averages. It is used to evaluate market trends, overbought and oversold conditions, as well as potential trend reversal points. The oscillator has a relatively long smoothing period, making the indicator relatively stable, thus enabling the visualization of buy + and sell + signals for trading.
 ATR Stop - Loss Line 
ATR (Average True Range) is an indicator for measuring market volatility. By using the ATR value to set the stop - loss distance, the stop - loss level can be automatically adjusted according to market volatility, making the stop - loss more flexible.
  
 Core principle 
 Trend-Cloud Engine 
EMA Pairs (5, 8, 20, 34 vs 9, 13, 21, 50)—Two four-EMA sets form “fast” and “slow” envelopes. When the volume-weighted mean of the fast set sits above the slow set and both slopes are positive, the bar is tagged primary bullish; the inverse tags primary bearish. Cloud colours (blue/green vs yellow/red) mirror Dow Theory’s primary/secondary trend hierarchy.
 Momentum & Exhaustion Layer 
QQE Oscillator (RSI 14, factor 4.238) detects momentum extremes and smooths noise more than a raw RSI, making it better suited for multi-time-frame use.
Consecutive-Candle Counter (default 8) highlights potential exhaustion after extended unidirectional moves; reversal symbols appear only if QQE divergence also exists.
 Volatility-Adjusted Risk Line 
ATR Trailing Stop (ATR 21, dynamic multiplier) expands in high volatility and tightens in low volatility, offering an adaptive exit reference rather than a fixed-tick stop.
 Multi-Time-Frame Confirmation 
The script automatically chooses a higher aggregation (e.g., 4 × the chart timeframe) and requires primary-trend agreement before issuing “Long ▲+” or “Short ▼+” confirmations. This guards against false signals during counter-trend rebounds.
 Recommended parameters 
 
 RSI Length: 14 (QQE calculation base)
 QQE Factor: 4.238 (Fibonacci-based multiplier)
 ATR Period: 21 (volatility measurement)
 EMA Lengths: Configurable short (5,8,20,34) and long (9,13,21,50) periods
 Consecutive Candles: Selectable count (8)
 Multi-timeframe Filter: Filter is enabled by default, resulting in more accurate signals.
 
 Filters 
The  multi-timeframe filter  enhances signal reliability by confirming trends across higher timeframes. This prevents counter-trend trades by ensuring alignment between current chart timeframe and broader market direction. The filter automatically calculates appropriate higher timeframes for trend confirmation.
 Signals & Alerts 
The indicator system exports multiple alert signals, and you can easily alert for any signal.
 
 Up Trend : Primary long signal appears
 Long - ▲ : Buy signal appears
 Long - ▲+ : Confirmation buy signal appears
 Long - ● :  Primary reversal signal appears
 Long - ☓ : Secondary reversal signal appears
 Down Trend : Primary short signal appears
 Short - ▼ : Sell signal appears
 Short - ▼+ : Confirmation sell signal appears
 Short - ● : Primary reversal signal appears
 Short - ☓ : Secondary reversal signal appears
 
 Originality & Value for Traders 
 
 Integrated scoring logic ensures signals fire only when trend, momentum, and volatility metrics corroborate, reducing “indicator conflict”.
 Auto-computed MTF pairs mean no manual timeframe juggling.
 Weight-balanced QQE/EMA blend creates smoother trend clouds than standard MA crosses, yet remains more responsive than Keltner or Donchian approaches.
 One-click beginner profile plus full parameter access supports both novice and advanced users.
 
 Risk Disclaimer 
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Pineify) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Palgo Trading - Palgo🎯THE PALGO INDICATOR
The "Palgo Trading - Palgo" indicator, developed by PALGOTRADING is a sophisticated technical analysis tool designed to identify potential buy and sell signals by combining trend analysis with momentum and optional AI-driven sentiment assessment. This indicator provides a clear visual representation of potential trading opportunities directly on the price chart.
At its core, the Palgo indicator synthesizes information from well-established technical analysis concepts with statistical functions, and has optional AI Integration for social analysis of the asset using external data :
Supertrend: This indicator identifies the prevailing trend direction. A positive Supertrend value suggests an upward trend, while a negative value indicates a downward trend. The Palgo indicator utilizes a Supertrend with a customizable multiplier and a user-configurable Average True Range (ATR) length (defaulting to 21).
  
🛜Signal Generation Logic
The indicator generates buy and sell signals based on a calculated "final direction" value. This value is derived by combining the Supertrend direction and a modified RSI. The modification involves scaling the RSI output to a range of -0.5 to 0.5 and then further adjusting it.
The buy and sell conditions are as follows:
Buy Signal: A buy signal is triggered when the "final direction" crosses above a positive activation threshold while the current signal is not already bullish. Upon signal generation, a "Buy" label (colored green) appears below the bar, and initial Take Profit (TP) and Stop Loss (SL) levels are calculated and stored.
Sell Signal: Conversely, a sell signal is triggered when the "final direction" crosses below a negative activation threshold while the current signal is not already bearish. A "Sell" label (colored red) is plotted above the bar, and corresponding TP and SL levels are determined.
✅ Optimized Take-Profit / Stop-Loss
The Take-Profit (TP) & Stop-Loss (SL) signals are optimized with Kernel Density Estimation (KDE), the script uses KDE activated by gaussian function on previous pivot points and trains the model, then tries to estimate new pivot points early, to determine new TP / SL levels for the current signal. Kernel Density Estimation takes values of the previous confirmed pivots' RSI values, body size & more factors to determine their role. This indicator can generate up to 5 TP signals per signal.
  
📈 Signal Trail
Palgo also includes a "Signal Trail" that visually shows the market's momentum. This trail is like a dynamic line that follows the price.
When the market is in an uptrend and looking strong, you'll see a green trail.
When it's in a downtrend and looking weak, you'll see a red trail.
This trail helps you see if the market is currently aligned with Palgo's bullish (buy) or bearish (sell) signal. It also acts as a visual guide for potential support or resistance levels.
📊Backtesting Dashboard
The Palgo indicator includes an optional Backtesting Dashboard to help you understand its historical performance. This dashboard appears directly on your chart and provides a quick summary of how the indicator's signals have performed in the past.
Here's what you'll see on the dashboard:
Sensitivity: This shows the specific "Sensitivity" setting you've chosen for the indicator. This setting influences how often signals are generated.
Wins: This number tells you how many trades initiated by the Palgo indicator historically ended in profit (reached a Take-Profit target or closed profitably when the signal reversed).
Loss: This number indicates how many trades historically ended in a loss (hit the Stop-Loss).
Winrate: This is a very important metric, displayed as a percentage. It shows you the proportion of winning trades compared to the total number of trades (Wins / (Wins + Loss)). A higher winrate generally suggests a more effective strategy.
This dashboard is a valuable tool for reviewing the indicator's effectiveness with different settings and helping you make informed decisions about its use in your trading.
  
🤖AI Integration (Optional):
A unique feature of the Palgo indicator is the optional integration of Artificial Intelligence (AI) sentiment analysis. When the "Use AI" input is enabled, the indicator incorporates two additional user-defined inputs:
Impression Change %: This input represents the percentage change in overall market sentiment as assessed by an external AI.
Positivity Change: This input reflects the change in positive sentiment, also provided by an AI.
These AI inputs are combined to create an "AI Score," which then influences the "final direction" calculation. A positive AI Score amplifies the bullish signals and dampens bearish signals, while a negative AI Score has the opposite effect.
❓Why PALGO ?
All-in-One Analysis: Palgo combines trend, momentum, and advanced statistical analysis into one easy-to-use tool, giving you a complete picture without needing multiple indicators.
Dynamic Profit & Loss Management: Unlike many tools with fixed targets, Palgo's smart profit and stop-loss system adapts to the market using KDE. This helps you potentially capture more gains and limit losses effectively.
Optional AI Insights: For an extra edge, Palgo can tap into Artificial Intelligence (AI) to gauge overall market mood. If the AI sees a lot of positive buzz, it can strengthen buy signals; if it's negative, it can reinforce sell signals. This helps you trade with a better understanding of the market's pulse.
Clear and Customizable: Palgo is designed to be very visual. It changes the color of the price bars, adds clear "Buy" or "Sell" labels, and marks your profit and stop-loss points. You can also change the colors to suit your preference.
Palgo aims to be a comprehensive and adaptable trading tool, giving you clearer insights.
  
⚙️Visualizations and Customization
The Palgo indicator offers several visual cues to aid traders:
Bar Coloring: The price bars are colored green when the indicator identifies a bullish signal and red during a bearish signal.
Signal Labels: Clear "Buy" and "Sell" labels are plotted at the signal generation points.
Take Profit and Stop Loss Markers: Distinct shapes and labels indicate when the price reaches the calculated TP and SL levels.
Style Options: Users can customize the colors for bullish and bearish bars, text, and TP/SL markers within the indicator's settings.
Quantum State Superposition Indicator (QSSI)Quantum State Superposition Indicator (QSSI) - Where Physics Meets Finance 
 The Quantum Revolution in Market Analysis 
After months of research into quantum mechanics and its applications to financial markets, I'm thrilled to present the  Quantum State Superposition Indicator (QSSI)  - a groundbreaking approach that models price action through the lens of quantum physics. This isn't just another technical indicator; it's a paradigm shift in how we understand market behavior.
 The Theoretical Foundation 
 Quantum Superposition in Markets 
In quantum mechanics, particles exist in multiple states simultaneously until observed. Similarly, markets exist in a superposition of potential states (bullish, bearish, neutral) until a significant volume event "collapses" the wave function into a definitive direction.
 The mathematical framework: 
 Wave Function (Ψ):  Represents the market's quantum state as a weighted sum of all  possible states: 
 Ψ = Σ(αᵢ × Sᵢ) 
Where  αᵢ  are probability amplitudes and Sᵢ are individual quantum states.
 Probability Amplitudes:  Calculated using the Born rule, normalized so Σ|αᵢ|² = 1
 Observation Operator:  Volume/Average Volume ratio determines observation strength
 The Five Quantum States 
 Momentum State:  Short-term price velocity (EMA of returns)
 Mean Reversion State:  Deviation from equilibrium (normalized z-score)
 Volatility Expansion State:  ATR relative to historical average
 Trend Continuation State:  Long-term price positioning
 Chaos State:  Volatility of volatility (market uncertainty)
Each state contributes to the overall wave function based on current market conditions.
 Wave Function Collapse 
When volume exceeds the observation threshold (default 1.5x average), the wave function "collapses," committing the market to a direction. This models how institutional volume forces markets out of uncertainty into trending states.
 Collapse Detection Formula: 
 Collapse  = Volume > (Threshold × Average Volume)
 Direction  = Sign(Ψ) at collapse moment
 Advanced Quantum Concepts 
 Heisenberg Uncertainty Principle 
The indicator calculates market uncertainty as the product of price and momentum 
 uncertainties: 
ΔP × ΔM = ℏ (market uncertainty constant)
This manifests as dynamic uncertainty bands that widen during unstable periods.
 Quantum Tunneling 
Calculates the probability of price "tunneling" through resistance/support barriers:
 P(tunnel)  = e^(-2×|barrier_height|×√coherence_length)
Unlike classical technical analysis, this gives probability of breakouts before they occur.
 Entanglement 
Measures the quantum correlation between price and volume:
 Entanglement  = |Correlation(Price, Volume, lookback)|
High entanglement suggests coordinated institutional activity.
 Decoherence 
When market states lose quantum properties and behave classically:
 Decoherence  = 1 - Σ(amplitude²)
Indicates trend emergence from quantum uncertainty.
 Visual Innovation 
 Probability Clouds 
Three-tier probability distributions visualize market uncertainty:
 Inner Cloud (68%):  One standard deviation - most likely price range
 Middle Cloud (95%):  Two standard deviations - probable extremes
 Outer Cloud (99.7%):  Three standard deviations - tail risk zones
Cloud width directly represents market uncertainty - wider clouds signal higher entropy states.
 Quantum State Visualization 
 Colored dots represent individual quantum states: 
 Green:  Momentum state strength
 Red:  Mean reversion state strength
 Yellow:  Volatility state strength
Dot brightness indicates amplitude (influence) of each state.
 Collapse Events 
 Aqua Diamonds (Above):  Bullish collapse - upward commitment
 Pink Diamonds (Below):  Bearish collapse - downward commitment
These mark precise moments when markets exit superposition.
 Implementation Details 
 Core Calculations 
 Feature Extraction:  Normalize price returns, volume ratios, and volatility measures
 State Calculation:  Compute each quantum state's value
 Amplitude Assignment:  Weight states by market conditions and observation strength
 Wave Function:  Sum weighted states for final market quantum state
 Visualization:  Transform quantum values to price space for display
 Performance Optimization 
- Efficient array operations for state calculations
- Single-pass normalization algorithms
- Optimized correlation calculations for entanglement
- Smart label management to prevent visual clutter
 Trading Applications: 
 Signal Generation 
 Bullish Signals: 
- Positive wave function during collapse
- High tunneling probability at support
- Coherent market state with bullish bias
 Bearish Signals: 
- Negative wave function during collapse
- High tunneling probability at resistance
- Decoherent state transitioning bearish
 Risk Management 
 Uncertainty-Based Position Sizing: 
 Narrow clouds:  Normal position size
 Wide clouds:  Reduced position size
 Extreme uncertainty:  Stay flat
 Quantum Stop Losses: 
- Place stops outside probability clouds
- Adjust for Heisenberg uncertainty
- Respect quantum tunneling levels
 Market Regime Recognition 
 Quantum Coherent (Superposed): 
- Market in multiple states
- Avoid directional trades
- Prepare for collapse
 Quantum Decoherent (Classical): 
-Clear trend emergence
- Follow directional signals
- Traditional analysis applies
 Advanced Features 
 Adaptive Dashboards 
 Quantum State Panel:  Real-time wave function, dominant state, and coherence status
 Performance Metrics:  Win rate, signal frequency, and regime analysis
 Information Guide:  Comprehensive explanation of all quantum concepts
- All dashboards feature adjustable sizing for different screen resolutions.
 Multi-Timeframe Quantum Analysis 
 The indicator adapts to any timeframe: 
 Scalping (1-5m):  Short coherence length, sensitive thresholds
 Day Trading (15m-1H):  Balanced parameters
 Swing Trading (4H-1D):  Long coherence, stable states
 Alert System 
 Sophisticated alerts for: 
- Wave function collapse events
- Decoherence transitions
- High tunneling probability
- Strong entanglement detection
 Originality & Innovation 
 This indicator introduces several firsts: 
 Quantum Superposition:  First to model markets as quantum systems
 Wave Function Collapse:  Original volume-triggered state commitment
 Tunneling Probability:  Novel breakout prediction method
 Entanglement Metrics:  Unique price-volume quantum correlation
 Probability Clouds:  Revolutionary uncertainty visualization
 Development Journey 
 Creating QSSI required: 
- Deep study of quantum mechanics principles
- Translation of physics equations to market context
- Extensive backtesting across multiple markets
- UI/UX optimization for trader accessibility
- Performance optimization for real-time calculation
- The result bridges cutting-edge physics with practical trading.
 Best Practices 
 Parameter Optimization 
 Quantum States (2-5): 
- 2-3 for simple markets (forex majors)
- 4-5 for complex markets (indices, crypto)
 Coherence Length (10-50): 
- Lower for fast markets
- Higher for stable markets
 Observation Threshold (1.0-3.0): 
- Lower for active markets
- Higher for thin markets
 Signal Confirmation 
 Always confirm quantum signals with: 
- Market structure (support/resistance)
- Volume patterns
- Correlated assets
- Fundamental context
 Risk Guidelines 
- Never risk more than 2% per trade
- Respect probability cloud boundaries
- Exit on decoherence shifts
- Scale with confidence levels
 Educational Value 
 QSSI teaches advanced concepts: 
- Quantum mechanics applications
- Probability theory
- Non-linear dynamics
- Risk management
- Market microstructure
Perfect for traders seeking deeper market understanding.
 Disclaimer 
This indicator is for educational and research purposes only. While quantum mechanics provides a fascinating framework for market analysis, no indicator can predict future prices with certainty. The probabilistic nature of both quantum mechanics and markets means outcomes are inherently uncertain.
Always use proper risk management, conduct thorough analysis, and never risk more than you can afford to lose. Past performance does not guarantee future results.
 Conclusion 
The Quantum State Superposition Indicator represents a revolutionary approach to market analysis, bringing institutional-grade quantum modeling to retail traders. By viewing markets through the lens of quantum mechanics, we gain unique insights into uncertainty, probability, and state transitions that classical indicators miss.
Whether you're a physicist interested in finance or a trader seeking cutting-edge tools, QSSI opens new dimensions in market analysis.
"The market, like Schrödinger's cat, exists in multiple states until observed through volume."
* As you may have noticed, the past two indicators I've released (Lorentzian Classification and Quantum State Superposition) are designed with strategy implementation in mind. I'm currently developing a stable execution platform that's completely unique and moves away from traditional ATR-based position sizing and stop loss systems. I've found ATR-based approaches to be unreliable in volatile markets and regime transitions - they often lag behind actual market conditions and can lead to premature exits or oversized positions during volatility spikes.
The goal is to create something that adapts to market conditions in real-time using the quantum and relativistic principles we've been exploring. Hopefully I'll have something groundbreaking to share soon. Stay tuned!
Trade with quantum insight. Trade with  QSSI .
—  Dskyz , for DAFE Trading Systems
Bullish and Bearish Breakout Alert for Gold Futures PullbackBelow is a Pine Script (version 6) for TradingView that includes both bullish and bearish breakout conditions for my intraday trading strategy on micro gold futures (MGC). The strategy focuses on scalping two-legged pullbacks to the 20 EMA or key levels with breakout confirmation, tailored for the Apex Trader Funding $300K challenge. The script accounts for the Daily Sentiment Index (DSI) at 87 (overbought, favoring pullbacks). It generates alerts for placing stop-limit orders for 175 MGC contracts, ensuring compliance with Apex’s rules ($7,500 trailing threshold, $20,000 profit target, 4:59 PM ET close).
Script Requirements
Version: Pine Script v6 (latest for TradingView, April 2025).
Purpose:
Bullish: Alert when price breaks above a rejection candle’s high after a two-legged pullback to the 20 EMA in a bullish trend (price above 20 EMA, VWAP, higher highs/lows).
Bearish: Alert when price breaks below a rejection candle’s low after a two-legged pullback to the 20 EMA in a bearish trend (price below 20 EMA, VWAP, lower highs/lows).
Context: 5-minute MGC chart, U.S. session (8:30 AM–12:00 PM ET), avoiding overbought breakouts above $3,450 (DSI 87).
Output: Alerts for stop-limit orders (e.g., “Buy: Stop=$3,377, Limit=$3,377.10” or “Sell: Stop=$3,447, Limit=$3,446.90”), quantity 175 MGC.
Apex Compliance: 175-contract limit, stop-losses, one-directional news trading, close by 4:59 PM ET.
How to Use the Script in TradingView
1. Add Script:
Open TradingView (tradingview.com).
Go to “Pine Editor” (bottom panel).
Copy the script from the  content.
Click “Add to Chart” to apply to your MGC 5-minute chart  .
2. Configure Chart:
Symbol: MGC (Micro Gold Futures, CME, via Tradovate/Apex data feed).
Timeframe: 5-minute (entries), 15-minute (trend confirmation, manually check).
Indicators: Script plots 20 EMA and VWAP; add RSI (14) and volume manually if needed  .
3. Set Alerts:
Click the “Alert” icon (bell).
Add two alerts:
Bullish Breakout: Condition = “Bullish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Bearish Breakout: Condition = “Bearish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Customize messages (default provided) and set notifications (e.g., TradingView app, SMS).
Example: Bullish alert at $3,377 prompts “Stop=$3,377, Limit=$3,377.10, Quantity=175 MGC”  .
4. Execute Orders:
Bullish:
Alert triggers (e.g., stop $3,377, limit $3,377.10).
In TradingView’s “Order Panel,” select “Stop-Limit,” set:
Stop Price: $3,377.
Limit Price: $3,377.10.
Quantity: 175 MGC.
Direction: Buy.
Confirm via Tradovate.
Add bracket order (OCO):
Stop-loss: Sell 175 at $3,376.20 (8 ticks, $1,400 risk).
Take-profit: Sell 87 at $3,378 (1:1), 88 at $3,379 (2:1)  .
Bearish:
Alert triggers (e.g., stop $3,447, limit $3,446.90).
Select “Stop-Limit,” set:
Stop Price: $3,447.
Limit Price: $3,446.90.
Quantity: 175 MGC.
Direction: Sell.
Confirm via Tradovate.
Add bracket order:
Stop-loss: Buy 175 at $3,447.80 (8 ticks, $1,400 risk).
Take-profit: Buy 87 at $3,446 (1:1), 88 at $3,445 (2:1)  .
5. Monitor:
Green triangles (bullish) or red triangles (bearish) confirm signals.
Avoid bullish entries above $3,450 (DSI 87, overbought) or bearish entries below $3,296 (support)  .
Close trades by 4:59 PM ET (set 4:50 PM alert)  .
Multi-Factor Reversal AnalyzerMulti-Factor Reversal Analyzer – Quantitative Reversal Signal System 
 OVERVIEW 
Multi-Factor Reversal Analyzer is a comprehensive technical analysis toolkit designed to detect market tops and bottoms with high precision. It combines trend momentum analysis, price action behavior, wave oscillation structure, and volatility breakout potential into one unified indicator.
This indicator is not a random mix of tools — each module is carefully selected for a specific purpose. When combined, they form a multi-dimensional view of the market, merging trend analysis, momentum divergence, and volatility compression to produce high-confidence signals.
 Why Combine These Modules? 
 Module Combination Ideas & How to Use Them 
 Factor A: Trend Detector + Gold Zone 
 Concept: 
• The Trend Detector (light yellow histogram) evaluates market strength:
• Histogram trending downward or staying below 50 → bearish conditions;
• Trending upward or staying above 50 → bullish conditions.
• The Gold Zone identifies areas of volatility compression — typically a prelude to explosive market moves.
 Practical Application: 
• When the Gold Zone appears and the Trend Detector is bearish → likely downside move;
• When the Gold Zone appears and the Trend Detector is bullish → likely upside breakout.
• Note: The Gold Zone does not mean the bottom is in. It is not a buy signal on its own — always combine it with other modules for directional bias.
 Factor B: PAI + Wave Trend 
 Concept: 
• PAI (Price Action Index) is a custom oscillator that combines price momentum with volatility dispersion, displaying strength zones:
• Green area → bullish dominance;
• Red area → bearish pressure.
• Wave Trend offers smoothed crossover signals via the main and signal lines.
 Practical Application: 
• When PAI is in the green zone and Wave Trend makes a bullish crossover → potential reversal to the upside;
• When PAI is in the red zone and Wave Trend shows a bearish crossover → potential start of a downtrend.
 Factor C: Trend Detector + PAI 
 Concept: 
• Combines directional trend strength with price action strength to confirm setups via confluence.
 Practical Application: 
• Trend Detector histogram bottoms out + PAI enters the green zone → high chance of upward reversal;
• Histogram tops out + PAI in the red zone → increased likelihood of downside continuation.
 Multi-Factor Confluence (Advanced Use) 
• When Trend Detector, PAI, and Wave Trend all align in the same direction (bullish or bearish), the directional signal becomes significantly more reliable.
• This setup is especially useful for trend-following or swing trade entries.
 KEY FEATURES 
 1. Multi-Layer Reversal Logic 
• Combines trend scoring, oscillator divergence, and volatility squeezes for triangulated reversal detection.
• Helps traders distinguish between trend pullbacks and true reversals.
 2. Advanced Divergence Detection 
• Detects both regular and hidden divergences using pivot-based confirmation logic.
• Customizable lookback ranges and pivot sensitivity provide flexible tuning for different market styles.
 3. Gold Zone Volatility Compression 
• Highlights pre-breakout zones using custom oscillation models (RSI, harmonic, Karobein, etc.).
• Improves anticipation of breakout opportunities following low-volatility compressions.
 4. Trend Direction Context 
• PAI and Trend Score components provide top-down insight into prevailing bias.
• Built-in “Straddle Area” highlights consolidation zones; breakouts from this area often signal new trend phases.
 5. Flexible Visualization 
• Color-coded trend bars, reversal markers, normalized oscillator plots, and trend strength labels.
• Designed for both visual discretionary traders and data-driven system developers.
 USAGE GUIDELINES 
 1. Applicable Markets 
• Suitable for stocks, crypto, futures, and forex
• Supports reversal, mean-reversion, and breakout trading styles
 2. Recommended Timeframes 
• Short-term traders: 5m / 15m / 1H — use Wave Trend divergence + Gold Zone
• Swing traders: 4H / Daily — rely on Price Action Index and Trend Detector
• Macro trend context: use PAI HTF mode for higher timeframe overlays
 3. Reversal Strategy Flow 
• Watch for divergence (WT/PAI) + Gold Zone compression
• Confirm with Trend Score weakening or flipping
• Use Straddle Area breakout for final trigger
• Optional: enable bar coloring or labels for visual reinforcement
• The indicator performs optimally when used in conjunction with a harmonic pattern recognition tool
 4. Additional Note on the Gold Zone 
The “Gold Zone” does not directly indicate a market bottom. Since it is displayed at the bottom of the chart, it may be misunderstood as a bullish signal. In reality, the Gold Zone represents a compression of price momentum and volatility, suggesting that a significant directional move is about to occur. The direction of that move—upward or downward—should be determined by analyzing the histogram:
• If histogram momentum is weakening, the Gold Zone may precede a downward move.
• If histogram momentum is strengthening, it may signal an upcoming rebound or rally.
Treat the Gold Zone as a warning of impending volatility, and always combine it with trend indicators for accurate directional judgment.
 RISK DISCLAIMER 
• This indicator calculates trend direction based on historical data and cannot guarantee future market performance. When using this indicator for trading, always combine it with other technical analysis tools, fundamental analysis, and personal trading experience for comprehensive decision-making.
• Market conditions are uncertain, and trend signals may result in false positives or lag. Traders should avoid over-reliance on indicator signals and implement stop-loss strategies and risk management techniques to reduce potential losses.
• Leverage trading carries high risks and may result in rapid capital loss. If using this indicator in leveraged markets (such as futures, forex, or cryptocurrency derivatives), exercise caution, manage risks properly, and set reasonable stop-loss/take-profit levels to protect funds.
• All trading decisions are the sole responsibility of the trader. The developer is not liable for any trading losses. This indicator is for technical analysis reference only and does not constitute investment advice.
• Before live trading, it is recommended to use a demo account for testing to fully understand how to use the indicator and apply proper risk management strategies.
 CHANGELOG 
v1.0: Initial release featuring integrated Price Action Index, Trend Strength Scoring, Wave Trend Oscillator, Gold Zone Compression Detection, and dual-type divergence recognition. Supports higher timeframe (HTF) synchronization, visual signal markers, and diversified parameter configurations.
Head & Shoulders Pattern (Zeiierman)█  Overview 
The  Head & Shoulders Pattern (Zeiierman)  is an advanced pattern recognition tool that automatically detects and visualizes one of the most powerful reversal patterns in technical analysis — the classic  Head & Shoulders and Inverse Head & Shoulders formations .
This indicator brings structure clarity directly onto the price chart, allowing traders to instantly spot potential major reversal zones without manually drawing or searching for patterns.
It doesn't just draw lines — it intelligently scans price action for symmetry, pivot behavior, and neckline structures — then projects realistic price targets based on the pattern's height.
   
 ⚪  In simple terms: 
▸ Standard Head & Shoulders → Bearish Reversal Pattern
▸ Inverse Head & Shoulders → Bullish Reversal Pattern
▸ Target Projection → Estimated Move from Neckline Break
▸ Labels → Clear annotation of Left Shoulder, Head, and Right Shoulder 
█  How It Works 
The indicator combines multiple technical detection layers into a clean visual model:
 ⚪  Dynamic Pivot Engine 
Automatically detects pivot highs and lows based on user-defined Period.
 
 Longer Period  = Broader, higher-confidence patterns
 Shorter Period  = Smaller, more frequent patterns
 
⚪  Pattern Detection Logic 
Scans pivot structures in real-time to identify valid:
 
 Bearish Head & Shoulders (H&S) 
 Bullish Inverse Head & Shoulders (iH&S) 
 
 Conditions include: 
▸ Symmetry validation
▸ Head above (or below) Shoulders
▸ Neckline structure
▸ Minimum price conditions met 
█  How to Use 
⚪  Reversal Trading 
 Look for Head & Shoulders at the top of an uptrend 
   
 Look for Inverse Head & Shoulders at the bottom of a downtrend 
   
 ⚪  What makes our tool truly unique is that it goes beyond the traditional textbook definition.  
Our custom Head & Shoulders algorithm is built with flexibility and adaptability in mind. It dynamically responds to real-time price action, allowing it to detect valid patterns not only at major trend reversals — but also within trending environments.
 That means you can spot Head & Shoulders formations at: 
 
 Consolidation zones
 Trend continuation areas
 Corrective phases within established trends
 
It doesn’t have to be the absolute top or bottom of a move — and that’s the real power of this tool. It adapts. It evolves. It finds structure where most indicators stay blind. 
█  Common Real-World Stop Loss Strategies with Head & Shoulders Patterns 
Not all Head & Shoulders patterns are created equal — and neither are the stop loss strategies used to trade them.
Depending on your trading style, risk tolerance, and market context — here are the 3 most common ways traders manage stop placement when trading Head & Shoulders (H&S) or Inverse Head & Shoulders (iH&S) patterns:
 ⚪ Conservative Stop Placement 
Maximum Safety — Minimum Chance of Being Stopped Prematurely
 Stop Placement: 
 
 Above the Head (Bearish H&S)
 Below the Head (Bullish iH&S)
 
 
 Pros:  Safest approach. Provides maximum protection against false breakouts and noise.
 Cons:  Often results in very large stop losses, especially on bigger patterns or higher timeframes. Risk-to-Reward (RR) can be poor unless the target is far. 
 ⚪ Aggressive Stop Placement 
Tighter Risk — Faster Invalidations
 Stop Placement: 
 
 Above the Right Shoulder (Bearish H&S)
 Below the Right Shoulder (Bullish iH&S)
 
 
 Pros:  Smaller stop losses. Improved RR. Ideal for traders who want tighter control over risk.
 Cons:  Higher chance of getting stopped on retests or minor volatility around the neckline zone.
 
   
 ⚪ Neckline Reclaim Invalidation 
Dynamic & Price-Action Based Exit
 Stop Placement: 
 
 Exit the trade if price closes back above (bearish) or below (bullish) the neckline after breaking it.
 
 
 Pros:  Dynamic approach based on market behavior rather than static levels. Allows more flexibility.
 Cons:  Requires active trade management. Not suitable for fully automated or set-and-forget trading styles.
 
   
█  Why It's Useful 
This is not a basic pattern drawing tool — it's a complete detection system built for traders who want to:
 
 Automatically detect powerful reversal patterns
 Avoid the subjectivity of manually drawing H&S structures
 Trade with clear target projections
 Identify high-probability reversal zones
 Visually map structure shifts in real-time
 
█  Settings 
 Pivot Detection 
 
 Period → Number of bars used to scan for pivots (Higher = Bigger patterns)
 Pattern Detection 
 
 Enable Bullish Head & Shoulders
 Enable Bearish Head & Shoulders
 
 Visualization 
 
 Customize Colors (Lines, Fills, Labels)
 Enable/Disable Labels
 Pattern Style: Closed / Open
 Custom Label Colors
 
 Target Projection 
 
 Enable/Disable Target Projection
 Customize Target Colors
 
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Multi-Timeframe Liquidity Zones V6 (Table)Multi-Timeframe Liquidity Zones V6 (Table) Indicator: Functionality and Uses
Overview: The Multi-Timeframe Liquidity Zones V6 (Table) indicator is a technical analysis tool that highlights key volume-based support and resistance levels across multiple timeframes. It leverages volume profile concepts – specifically the Point of Control (POC) and Value Area High/Low (VAH/VAL) – to identify “liquidity zones” where trading activity was heaviest . Unlike a standard single-timeframe volume profile, this indicator compiles data from several timeframes (e.g. monthly, weekly, daily, intraday) and displays the results in a convenient table format on the chart. The goal is to give traders a consolidated view of important price levels (derived from volume concentrations) across different horizons, helping them plan trades with a broader market perspective.
Purpose and Functionality of the Indicator
Multi-Timeframe Analysis: The primary objective of this indicator is to simplify multi-timeframe analysis of volume distribution. Rather than manually checking volume profiles on separate charts for each timeframe, the tool automatically calculates the key levels for each selected timeframe and presents them together. This includes higher-level perspectives (like monthly or weekly volume hotspots) alongside shorter-term levels (daily or hourly), ensuring that traders don’t miss significant zones from any timeframe . By offering a broader perspective on support and resistance levels, multi-timeframe tools help improve risk management and signal confirmation , and this indicator is designed to provide that volume-based perspective at a glance.
Table Format Display: Multi-Timeframe Liquidity Zones V6 (Table) specifically presents the information as a table (as opposed to plotting lines on the chart). Each row in the table typically corresponds to a timeframe (for example, Monthly, Weekly, Daily, 4H, 1H, 30M, 15M), and the columns list the calculated POC, VAH, VAL, and possibly the average volume for that timeframe’s look-back period. By structuring the data in a table, traders can quickly read off the exact price levels of these liquidity zones without having to visually trace lines. This format makes it easy to compare levels across timeframes or note where multiple timeframes’ levels cluster near the same price – a sign of especially strong support/resistance. The indicator uses a user-defined number of bars or length of history for each timeframe to calculate these values (so you can adjust how far back it looks to define the volume profile for each period).
Objective: In summary, the functionality is geared toward identifying high-liquidity price zones across multiple time scales and presenting them clearly. These high-liquidity zones often coincide with areas where price reacts (stalls, reverses, or accelerates) because a lot of trading activity (hence, orders and volume) took place there in the past. The indicator’s objective is to alert the trader to those areas in advance. It effectively answers questions like: “Where are the major volume concentration levels on the 1-hour, daily, and weekly charts right now?” and “Are there overlapping volume-based support/resistance levels from different timeframes around the current price?” By compiling this information, the indicator helps traders incorporate context from multiple timeframes in their decision-making, without needing to flip through numerous charts.
Identifying Liquidity Zones with POC, VAH, and VAL
Liquidity Zones Defined: In market terms, a “liquidity zone” is an area of the chart where a significant amount of trading occurred, meaning high liquidity (many buyers and sellers exchanged volume there). These zones often act as support or resistance because past heavy trading indicates consensus or interest around those price levels. This indicator identifies liquidity zones through volume profile analysis on each timeframe’s recent price action. Essentially, it looks at the distribution of trading volume at different prices over the specified period and finds the value area – the range of prices that encompassed the majority of that volume (commonly around 70% of the total volume ). Within that value area, it pinpoints the Point of Control (POC), which is the single price level that had the highest traded volume (the peak of the volume profile) . The upper and lower boundaries of that high-volume range are marked as Value Area High (VAH) and Value Area Low (VAL) respectively . Together, the VAH and VAL define the liquidity zone where the market spent most of its time and volume, and POC highlights the most traded price in that zone.
	•	Point of Control (POC): The POC is the price level with the greatest volume traded for the given period. It represents the price at which the most liquidity was exchanged – effectively the market’s “center of gravity” for that timeframe’s trading activity . The indicator calculates the POC for each selected timeframe by scanning the volume at each price; the price with maximum volume is flagged as that timeframe’s POC. In the table, the POC might be highlighted or listed as a key level (sometimes traders color-code it or mark it for emphasis). Because so many positions were opened or closed at the POC, it often serves as a strong support/resistance. For example, if price falls to a major POC from above, traders expect buyers may step in there (since it was a popular buy/sell level historically), potentially causing a bounce. Conversely, if price breaks through a POC decisively, it may signal a significant shift in market acceptance.
	•	Value Area High (VAH) and Low (VAL): The VAH and VAL are the price boundaries of the value area, which is typically defined to contain about 70% of the total traded volume for the period . In other words, between VAH and VAL is where the “bulk” of trading occurred, and outside this range is where relatively less volume traded. The indicator derives VAH/VAL by accumulating volume from the highest-volume price (POC) outward until ~70% of volume is covered (this is a common method for volume profile value area). VAH is the top of this high-volume region and VAL is the bottom. These levels are important because they often act like support/resistance boundaries: when price is inside the value area, it’s in a high-liquidity zone and tends to oscillate between VAH and VAL; when price moves above VAH or below VAL, it’s leaving the high-volume zone, which can indicate a potential trend or imbalance (price entering a lower-liquidity area where it might move faster until finding the next liquidity zone). Traders watch VAH/VAL for signs of rejection or acceptance: for instance, a price rally that falters at VAH suggests that level is acting as resistance (sellers defending that high-volume area), whereas if price pushes above VAH, it may continue until the next timeframe’s zone or until it finds new interest. The Multi-Timeframe Liquidity Zones V6 indicator gives the VAH and VAL for each timeframe, essentially mapping out the upper and lower bounds of key liquidity zones at those scales.
How the Indicator Identifies These: Under the hood, the indicator likely uses historical price and volume data for each timeframe’s lookback window. For each timeframe (say the last 20 weekly bars for a weekly profile, last 100 daily bars for a daily profile, etc.), it constructs a volume profile (a histogram of volume at each price). From that distribution, it finds the POC (highest volume bin) and calculates VAH/VAL around it. The output is a set of numbers (price levels) that mark where those zones lie. In practice, if using the Lines version of this indicator, those levels are drawn as horizontal lines on the chart and labeled by timeframe (e.g., a line at 1.2345 labeled “D POC” for Daily POC) . In the Table version, those values are instead listed in text form. Either way, the identification process is the same – it’s finding the high-volume price regions on each timeframe and calling them out. By doing this for multiple timeframes concurrently, the indicator reveals how these liquidity zones from different periods relate to each other. For example, you might discover that a daily-chart value area overlaps with a weekly-chart POC, creating a particularly strong zone of interest. This kind of insight is hard to get from a single timeframe analysis alone.
Volume Profile Data Across Multiple Timeframes
Multiple Timeframes in One View: One of the biggest advantages of this indicator is the ability to see volume profile information from various timeframes side by side. Traders often perform multiple timeframe analysis to get a fuller picture — for instance, checking monthly or weekly levels for long-term context while planning a trade on a 4-hour chart. This indicator automates that process for volume-based levels. The table will typically list each chosen timeframe (which could be preset or user-selected). For each timeframe, you get the POC, VAH, VAL, and possibly an average volume metric. The “average volume” likely refers to the average volume per bar or the average volume traded over the profile’s duration for that timeframe, which gives a sense of how significant that period’s activity is. For example, a weekly profile might show an average volume of say 500k per week, versus a daily profile average of 80k per day – indicating the scale of trading on weekly vs daily. High average volume on a timeframe means its liquidity zones were formed with a lot of participation, possibly making them more reliable support/resistance. By comparing these, traders can gauge which timeframes had unusually high or low activity recently. The table format makes such comparisons straightforward.
Identification of Confluence: Because all the data is presented together, traders can quickly spot confluence or overlaps between timeframes. If two different timeframes show liquidity zones at similar price levels, that price becomes extremely noteworthy. For instance, suppose the indicator shows: a 1-hour POC at 1.1300, a 4-hour VAL at 1.1280, and a daily VAL at 1.1290. These are all in a tight range – effectively indicating a multi-timeframe liquidity zone around 1.1280–1.1300. A trader seeing this cluster in the table will recognize that as a strong support area, since multiple profiles from intraday to daily all suggest heavy trading interest there. Similarly, overlaps of VAH (resistance zone) from different timeframes could signal a strong ceiling. The multi-timeframe view prevents a trader from, say, going long into a major weekly POC above, or shorting when there’s a huge monthly value-area low just below – situations where awareness of higher timeframe volume structure can make the difference between a good and bad trade.
User Customization: The indicator is flexible in that you can typically adjust which timeframes to include and how many bars to use for each timeframe’s calculation. For example, one might configure it to calculate monthly levels using the past 12 monthly bars (1 year of data), weekly levels using the past 20 weeks, daily using 100 days, etc., depending on preference. By tuning the “bars count” or period length , the trader can focus on recent liquidity zones or incorporate more history if desired. Shorter lookback might catch more recent shifts in volume distribution (important if the market structure changed recently), while longer lookback gives more established levels. This customization ensures the indicator’s output can be tailored to different trading styles (short-term vs swing vs long-term investing). Regardless of settings, the multi-timeframe table allows simultaneous visibility of the chosen timeframes’ volume landscape. This comprehensive view is the core strength: it consolidates data that normally requires flipping through multiple charts.
Using the Liquidity Zones Data for Trading Decisions
Traders can use the information from the MTF Liquidity Zones V6 (Table) indicator in several practical ways to enhance their decision-making:
	•	Identify Support and Resistance: Each liquidity zone acts as a potential support or resistance area. For example, if the table shows a daily VAH at a certain level above the current price, that level might serve as resistance if the price rallies up to it (since it marks the top of a high-volume region where sellers might step in). Conversely, a weekly VAL below current price could act as support on a dip. By noting these levels in the table, a trader planning an entry or exit can anticipate where the price might stall or reverse. Essentially, you get a map of high-interest price levels from different timeframes, which you can mark on your trading chart for guidance.
	•	Plan Entries and Exits Around Key Levels: Many traders incorporate volume profile levels into their strategies, for instance: buying near VAL (betting that the value area will hold and price will revert upward), or selling/shorting near VAH (expecting the top of value to hold as resistance), or trading breakouts when price moves outside the value area. With the multi-timeframe table, one can refine these tactics by also considering higher timeframe levels. Suppose you see that on the 1-hour chart the price is just above its 1H POC, but the table indicates that just slightly above, there’s also the daily POC. You might delay a long entry until price clears that daily POC, because that could be a stronger intraday barrier. Or if you intend to take profit on a long trade, you might choose a target just below a weekly VAH since price may struggle to climb past that on the first attempt. The indicator thus acts as a guide for precision in entry/exit decisions, aligning them with where liquidity is high.
	•	Gauge Trend Strength and Directional Bias: By observing where current price is relative to these volume zones, traders can infer certain market conditions. For instance, if price is trading above the VAH of multiple timeframes’ value areas, it suggests the market is in a more bullish or overextended territory (price accepted above prior value), whereas if price is below multiple VALs, it’s in bearish or undervalued territory relative to recent history. If the price stays around a POC, it indicates consolidation or equilibrium (market comfortable at that price). Traders can use this context for bias – e.g., if price is above the weekly VAH, you might lean bullish but watch for potential pullbacks to that VAH level (now a support). If price is below the monthly VAL, you might avoid longs until it re-enters that value area. In essence, the liquidity zones provide context of value vs. price: is price trading within the high-volume areas (implying range-bound behavior) or outside them (implying a breakout or trending move)? This can prevent chasing trades at poor locations.
	•	Combine with Other Indicators/Analysis: It’s generally advised to not use any single indicator in isolation, and this holds true here. The liquidity zones from this indicator are best used alongside price action or other technical signals for confirmation . For example, if a bullish candlestick reversal pattern forms right at a confluence of a 4H VAL and Daily POC, that’s a stronger buy signal than the pattern alone. Or if an oscillator shows overbought exactly as price hits a weekly VAH, it adds conviction to a possible short. The indicator’s table basically gives you a shortlist of critical price levels; you can then watch how price behaves at those levels (via candlesticks, order flow, etc.) to make the final trade decision. Traders might set alerts for when price approaches one of the listed levels, or they might drop down to a lower timeframe to fine-tune an entry once a key zone is reached. By integrating this volume-based insight with trend analysis, chart patterns, or momentum indicators, one can make more informed and high-probability decisions rather than trading in the dark.
	•	Risk Management and Stop Placement: High-liquidity zones can also inform stop-loss placement. Ideally, you want your stop on the other side of a strong support/resistance. If you go long near a VAL, you might place your stop just below the VAL (since a move beyond that suggests the high-volume zone didn’t hold). If you short near a VAH, a stop just above the VAH or POC could be logical. Moreover, if multiple timeframes show overlapping zones, a stop beyond all of them could be even safer (albeit at the cost of a wider stop). The indicator helps identify those spots. It also warns you of where not to put a stop – for example, placing a stop-loss right at a POC might be unwise because price could gravitate to that POC repeatedly (due to its magnetic effect as a high-volume price). Instead, a trader might choose a stop beyond the far side of the value area. By using the table’s information, you can align your risk management with areas of high liquidity, reducing the chance of being whipsawed by normal volatility around heavily traded levels .
Benefits of the Multi-Timeframe Liquidity Zones Indicator
Using the Multi-Timeframe Liquidity Zones V6 (Table) indicator offers several key benefits for traders, ultimately aiming to streamline analysis and improve decision quality:
	•	Consolidated Key Levels: It provides a clear, consolidated view of crucial volume-driven levels from multiple timeframes all at once . This saves time and ensures you always account for major support/resistance zones that come from higher or lower timeframe volume clusters. You won’t accidentally overlook a significant weekly level while focused on a 15-minute chart, for example.
	•	Enhanced Multi-Timeframe Insight: By aligning information from long-term and short-term periods, the indicator helps traders see the “bigger picture” while still operating on their preferred timeframe. This multi-scale awareness can improve trade timing and confidence. You’re effectively doing multi-timeframe analysis with volume profiles in an efficient manner, which can confirm or caution your trade ideas (e.g., a trend looks strong on the 1H, but the table shows a huge monthly VAH just overhead – a reason to be cautious or take profit early).
	•	Improved Decision Making and Precision: Knowing where liquidity zones lie allows for more precise entries, exits, and stop placements. Traders can make informed decisions such as waiting for a pullback to a value area before entering, or taking profits before price hits a major POC from a higher timeframe. These decisions are grounded in objectively important price levels, potentially leading to higher probability trades and better risk-reward setups. It essentially enhances your strategy by adding a layer of volume context – you’re trading with an awareness of where the market’s interest is heaviest.
	•	Volume-Based Confirmation: Price alone can sometimes be deceptive, but volume tells the true story of participation. The liquidity zones indicator provides volume-based confirmation of support/resistance. If a price level is identified by this tool, it’s because significant volume happened there – adding weight to that level’s importance. This can help filter out false support/resistance levels that aren’t backed by volume. In other words, it highlights high-quality levels that many traders (and possibly institutions) have shown interest in.
	•	Adaptable to Different Trading Styles: Whether one is a scalper looking at intraday (15M, 5M charts) or a swing trader focusing on daily/weekly, the indicator can be configured to those needs. You choose which timeframes and how much data to consider. This means the concept of liquidity zones can be applied universally – from spotting intraday pivot levels with volume, to seeing long-term value zones on an investment. The consistent methodology of POC/VAH/VAL across scales provides a common framework to analyze any market and timeframe.
	•	Informed Risk Management: As discussed, the knowledge of multi-timeframe volume zones aids in risk management. By placing stops beyond major liquidity areas or avoiding trades that run into strong volume walls, traders can reduce the likelihood of whipsaw losses. It’s an extra layer of defense to ensure your trade plan accounts for where the market has historically found lots of interest (hence likely friction). This level of informed planning can be the difference between a well-managed trade and an avoidable loss.
In conclusion, the Multi-Timeframe Liquidity Zones V6 (Table) indicator serves as a powerful analytical aid, giving traders a structured view of where price is likely to encounter support or resistance based on volume concentrations across timeframes. Its functionality centers on identifying those liquidity zones (via POC, VAH, VAL) and presenting them in an easy-to-read format, while its ultimate purpose is to help traders make more informed decisions. By integrating this tool into their workflow, traders can more confidently navigate price action, knowing the objective volume-based landmarks that lie ahead. Remember that while these volume levels often coincide with strong S/R zones, it’s best to use them in conjunction with other technical or fundamental analysis for confirmation . When used appropriately, the indicator can streamline multi-timeframe analysis and enhance your overall trading strategy , giving you an edge in identifying where the market’s liquidity (and opportunity) resides.






















